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
43822fa47c
commit
0dce858b28
@ -2,7 +2,7 @@
|
||||
name: Install morefine
|
||||
become: yes
|
||||
tasks:
|
||||
- name: Install ldap packages
|
||||
- name: Install packages
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name:
|
||||
@ -19,21 +19,22 @@
|
||||
- wine
|
||||
- kate
|
||||
- autofs
|
||||
- name: Download Docker gpg key
|
||||
- ethtool
|
||||
- name: Download gpg key for code
|
||||
get_url:
|
||||
url: https://packages.microsoft.com/keys/microsoft.asc
|
||||
dest: /tmp/tempkey
|
||||
- name: Get repo
|
||||
- name: Import key for code
|
||||
become: true
|
||||
ansible.builtin.shell: >-
|
||||
gpg --dearmor < /tmp/tempkey > packages.microsoft.gpg
|
||||
|
||||
- name: Get repo
|
||||
- name: Install key for code
|
||||
become: true
|
||||
ansible.builtin.shell: >-
|
||||
install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
|
||||
|
||||
- name: Get repo
|
||||
- name: Add repo for code
|
||||
become: true
|
||||
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
|
||||
@ -58,23 +59,23 @@
|
||||
deb: http://192.168.77.106:48000/install/VNC-Server-6.11.0-Linux-x64.deb
|
||||
ignore_errors: true
|
||||
|
||||
- name: Download Docker gpg key
|
||||
- name: Download gpg key for spotify
|
||||
get_url:
|
||||
url: https://download.spotify.com/debian/pubkey_7A3A762FAFD4A51F.gpg
|
||||
dest: /tmp/tempkey
|
||||
|
||||
|
||||
- name: Get repo
|
||||
- name: Install key for spotify
|
||||
become: true
|
||||
ansible.builtin.shell: >-
|
||||
cat /tmp/tempkey |gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
|
||||
|
||||
|
||||
- name: Get repo
|
||||
- name: Add repo for spotify
|
||||
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
|
||||
- name: Install spotify
|
||||
become: true
|
||||
ansible.builtin.apt:
|
||||
name: spotify-client
|
||||
@ -88,7 +89,7 @@
|
||||
ansible.builtin.apt:
|
||||
name: grub-customizer
|
||||
update_cache: yes
|
||||
- name: Download Docker gpg key
|
||||
- name: Download gpg key for element
|
||||
become: true
|
||||
get_url:
|
||||
url: https://packages.element.io/debian/element-io-archive-keyring.gpg
|
||||
@ -103,7 +104,7 @@
|
||||
ansible.builtin.apt:
|
||||
name: element-desktop
|
||||
update_cache: yes
|
||||
- name: Creating a file with content
|
||||
- name: Creating a file with content wol service
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/systemd/system/wol@.service"
|
||||
content: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user