mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
c4a3c30191
commit
769dd19d2a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user