From 2c31826e84ecd14366d09b7f335291e6338b8b4a Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Mon, 31 Jul 2023 10:46:34 +0000 Subject: [PATCH] Update install_morefine.yaml --- playbooks/install_morefine.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playbooks/install_morefine.yaml b/playbooks/install_morefine.yaml index 89d24fb..84974c0 100644 --- a/playbooks/install_morefine.yaml +++ b/playbooks/install_morefine.yaml @@ -15,3 +15,15 @@ - name: Get repo ansible.builtin.shell: >- 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