Skip to content

Commit

Permalink
Fix apt keys
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Mar 7, 2024
1 parent eca43bf commit e642f15
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ alias suspend='sudo systemctl suspend'
alias tarip='tar --strip-components=1 -x -f'
alias tgit="tsocks git"
alias timev="/usr/bin/time -v"
alias tree='tree -C'
alias tree='tree -C --dirsfirst'
alias tsfmt='prettier -w --print-width=120 --no-semi --arrow-parens=avoid'
alias ups='ps -N --ppid 2 -f'
alias vi='vim'
Expand Down
8 changes: 8 additions & 0 deletions install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
state: link
force: true

- name: import apt keys
apt_key:
keyserver: keyserver.ubuntu.com
id: "{{item}}"
with_items:
- 7EA0A9C3F273FCD8 # docker-ce
- EB3E94ADBE1229CF # vscode

- name: install apt packages
apt:
update_cache: true
Expand Down
3 changes: 0 additions & 3 deletions tasks/vscode.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
- set_fact: vscode_conf=config/Code/User

- name: add apt key
shell: apt-key adv --keyserver keyserver.ubuntu.com --recv EB3E94ADBE1229CF

- name: install vscode
apt: name=code update_cache=yes

Expand Down

0 comments on commit e642f15

Please sign in to comment.