Update install_morefine.yaml

This commit is contained in:
Laci Dusa 2023-07-31 10:46:34 +00:00
parent e5c5c68ff7
commit 2c31826e84

View File

@ -15,3 +15,15 @@
- name: Get repo - name: Get repo
ansible.builtin.shell: >- ansible.builtin.shell: >-
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
- name: Get repo
ansible.builtin.shell: >-
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
- name: Get repo
ansible.builtin.shell: >-
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code/stable main" > /etc/apt/sources.list.d/vscode.list
- name: Install code
ansible.builtin.apt:
name:
- code