ansible/playbooks/install_morefine.yaml

94 lines
3.1 KiB
YAML
Raw Normal View History

2023-07-31 13:13:14 +02:00
- hosts: morefine
2023-07-31 09:25:55 +00:00
name: Install morefine
2023-07-31 10:16:35 +00:00
become: yes
2023-07-31 09:25:55 +00:00
tasks:
- name: Install ldap packages
2023-07-31 13:39:27 +02:00
become: true
2023-07-31 09:25:55 +00:00
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 13:04:05 +02:00
- krusader
2023-07-31 13:07:52 +02:00
- wine
2023-07-31 14:29:04 +02:00
- kate
2023-07-31 17:21:24 +02:00
- autofs
2023-07-31 10:43:15 +00:00
- name: Get repo
2023-07-31 13:41:58 +02:00
become: true
2023-07-31 10:43:15 +00:00
ansible.builtin.shell: >-
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
2023-07-31 13:41:58 +02:00
2023-07-31 10:46:34 +00:00
- name: Get repo
2023-07-31 13:41:58 +02:00
become: true
2023-07-31 10:46:34 +00:00
ansible.builtin.shell: >-
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
2023-07-31 13:41:58 +02:00
2023-07-31 10:46:34 +00:00
- name: Get repo
2023-07-31 13:41:58 +02:00
become: true
2023-07-31 10:46:34 +00:00
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 13:41:58 +02:00
2023-07-31 10:46:34 +00:00
- name: Install code
2023-07-31 13:41:58 +02:00
become: true
2023-07-31 10:46:34 +00:00
ansible.builtin.apt:
name:
- code
2023-07-31 13:12:25 +02:00
- name: Install viber
2023-07-31 13:41:58 +02:00
become: true
2023-07-31 13:12:25 +02:00
ansible.builtin.apt:
2023-07-31 14:23:54 +02:00
deb: https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb
- name: Install VNC Viewer
become: true
ansible.builtin.apt:
deb: https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.5.1-Linux-x64.deb
- name: Install VNC Server
become: true
ansible.builtin.apt:
2023-08-02 07:58:46 +02:00
deb: http://192.168.77.106:48000/install/VNC-Server-6.11.0-Linux-x64.deb
2023-08-02 07:29:35 +02:00
ignore_errors: true
2023-08-02 07:26:40 +02:00
- name: Get repo
become: true
ansible.builtin.shell: >-
curl -sS https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
- name: Get repo
become: true
ansible.builtin.shell: >-
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
- name: Install ldap packages
become: true
ansible.builtin.apt:
name: spotify-client
2023-08-02 19:09:11 +02:00
update_cache: yes
- name: Get repo
become: true
ansible.builtin.shell: >-
2023-08-02 23:36:54 +02:00
add-apt-repository ppa:danielrichter2007/grub-customizer -y
2023-08-02 19:09:11 +02:00
- name: Install grub-customizer
become: true
ansible.builtin.apt:
name: grub-customizer
update_cache: yes
- name: Get repo element-desktop
become: true
ansible.builtin.shell: >-
wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg
- name: Get repo element-desktop
become: true
ansible.builtin.shell: >-
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list
- name: Install element-desktop
become: true
ansible.builtin.apt:
name: element-desktop
update_cache: yes