ansible/playbooks/install_morefine.yaml

34 lines
1019 B
YAML
Raw Normal View History

2023-07-31 09:25:55 +00:00
- hosts: morefine
name: Install morefine
2023-07-31 10:16:35 +00:00
become: yes
2023-07-31 10:35:21 +00:00
become_user: jd
2023-07-31 09:25:55 +00:00
tasks:
- name: Install ldap packages
ansible.builtin.apt:
name:
- curl
2023-07-31 10:05:29 +00:00
- yakuake
2023-07-31 10:41:24 +00:00
- software-properties-common
- apt-transport-https
- wget
- gpg
2023-07-31 10:51:05 +00:00
- autokey-gtk
2023-07-31 10:56:13 +00:00
- git
2023-07-31 13:00:01 +02:00
- barrier
2023-07-31 10:43:15 +00:00
- name: Get repo
ansible.builtin.shell: >-
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
2023-07-31 10:46:34 +00:00
- 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: >-
2023-07-31 10:49:13 +00:00
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
2023-07-31 10:46:34 +00:00
- name: Install code
ansible.builtin.apt:
name:
- code
2023-07-31 10:51:05 +00:00