From 769dd19d2aca98660de3f65fcf96279eae00c36d Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 31 Jul 2023 13:39:27 +0200 Subject: [PATCH] upt playbook --- playbooks/install_morefine.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/playbooks/install_morefine.yaml b/playbooks/install_morefine.yaml index 27ed3ce..0d3c942 100644 --- a/playbooks/install_morefine.yaml +++ b/playbooks/install_morefine.yaml @@ -3,6 +3,7 @@ become: yes tasks: - name: Install ldap packages + become: true ansible.builtin.apt: name: - curl @@ -19,14 +20,15 @@ - name: Get repo ansible.builtin.shell: >- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg - + become: true - name: Get repo ansible.builtin.shell: >- install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg - + become: true - 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 + become: true - name: Install code ansible.builtin.apt: name: