From 56487e73f624ad5b62ac311d4badcfbaa341b1dc Mon Sep 17 00:00:00 2001 From: John Freeman Date: Thu, 13 Jan 2022 22:31:28 +0000 Subject: [PATCH] Fixed to match the previous APT repo declaration (#208) This avoids duplicating the APT repo if you'd previously ran an earlier version of the role. --- tasks/install-apt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install-apt.yml b/tasks/install-apt.yml index a145a31..9e8e5e6 100644 --- a/tasks/install-apt.yml +++ b/tasks/install-apt.yml @@ -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