mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
33 lines
999 B
YAML
33 lines
999 B
YAML
- hosts: morefine
|
|
name: Install morefine
|
|
become: yes
|
|
become_user: jd
|
|
tasks:
|
|
- name: Install ldap packages
|
|
ansible.builtin.apt:
|
|
name:
|
|
- curl
|
|
- yakuake
|
|
- software-properties-common
|
|
- apt-transport-https
|
|
- wget
|
|
- gpg
|
|
- autokey-gtk
|
|
- git
|
|
- 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
|
|
|