upt playbook

This commit is contained in:
jaydee 2023-07-31 13:39:27 +02:00
parent c4a3c30191
commit 769dd19d2a

View File

@ -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: