diff --git a/local/tasks/customise-gui.yml b/local/tasks/customise-gui.yml index 1e7bc65..5a3cc8f 100644 --- a/local/tasks/customise-gui.yml +++ b/local/tasks/customise-gui.yml @@ -63,11 +63,3 @@ ansible.builtin.command: cmd: dbus-run-session -- gio set /home/{{ vm_user }}/Desktop/firefox_firefox.desktop metadata::trusted true changed_when: true - -- name: Remove update-notifier - become: true - become_user: "{{ root_user }}" - ansible.builtin.apt: - name: update-notifier - state: absent - purge: true diff --git a/playbook-package.yml b/playbook-package.yml index f454714..b7a832c 100644 --- a/playbook-package.yml +++ b/playbook-package.yml @@ -47,6 +47,10 @@ ansible.builtin.shell: vagrant ssh-config > vagrant-ssh tags: [clean] + - name: Remove update-notifier + ansible.builtin.command: ssh -F vagrant-ssh default "sudo apt-get purge -y update-notifier" + tags: [clean] + - name: Clear bash history ansible.builtin.shell: ssh -F vagrant-ssh default "cat /dev/null > ~/.bash_history && history -c" tags: [clean]