Skip to content

Commit

Permalink
Fixed to match the previous APT repo declaration (#208)
Browse files Browse the repository at this point in the history
This avoids duplicating the APT repo if you'd previously ran an earlier version of the role.
  • Loading branch information
freemanjp authored Jan 13, 2022
1 parent 0d1b816 commit 56487e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/install-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- name: install VS Code repo (apt)
become: yes
apt_repository:
repo: 'deb [arch=amd64 {{ visual_studio_code_gpgcheck | ternary("", "trusted=yes") }}] {{ visual_studio_code_mirror }}/repos/code stable main'
repo: 'deb [arch=amd64{{ visual_studio_code_gpgcheck | ternary("", " trusted=yes") }}] {{ visual_studio_code_mirror }}/repos/code stable main'
filename: vscode
state: present
when: not visual_studio_code_skip_add_repo
Expand Down

0 comments on commit 56487e7

Please sign in to comment.