--- - name: mon playbook hosts: srv tasks: - name: Remove wpasupplicant ansible.builtin.package: name: "wpasupplicant" state: absent - name: Remove rpcbind ansible.builtin.package: name: "rpcbind" state: absent