diff --git a/install_openitcockpit.yaml b/install_openitcockpit.yaml index a30a957..29cecd9 100644 --- a/install_openitcockpit.yaml +++ b/install_openitcockpit.yaml @@ -32,13 +32,15 @@ # ansible.builtin.shell: # cmd: systemctl restart openitcockpit-agent - - name: Remove a package + + - name: Remove multiple packages hosts: all - become: yes # Run tasks with sudo privileges + become: yes tasks: - - name: Remove the 'opencockpit' package + - name: Uninstall multiple packages ansible.builtin.apt: - name: openitcockpit-agent + name: + - viopenitcockpit-agentm state: absent # - name: Install a list of packages