From 0dce858b287f373a9437e0ce65331a7a7d2d331e Mon Sep 17 00:00:00 2001 From: jaydee Date: Thu, 3 Aug 2023 04:19:03 +0200 Subject: [PATCH] upt playbook --- playbooks/install_morefine.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/playbooks/install_morefine.yaml b/playbooks/install_morefine.yaml index 867dfae..988158b 100644 --- a/playbooks/install_morefine.yaml +++ b/playbooks/install_morefine.yaml @@ -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: |