Force vscode extension install so it doesn't prompt

This commit is contained in:
Jake Howard 2018-10-15 09:04:56 +01:00
parent 5332935235
commit 86320e641e
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -23,7 +23,7 @@
register: vscode_extensions register: vscode_extensions
- name: "Install VSCode extensions" - name: "Install VSCode extensions"
shell: "code --install-extension {{ item }}" shell: "code --install-extension {{ item }} --force"
become: true become: true
become_user: "{{ user }}" become_user: "{{ user }}"
when: "item not in vscode_extensions.stdout_lines" when: "item not in vscode_extensions.stdout_lines"