diff --git a/ansible/roles/ssh_users/tasks/main.yml b/ansible/roles/ssh_users/tasks/main.yml index 68e0678b..fd3fca48 100644 --- a/ansible/roles/ssh_users/tasks/main.yml +++ b/ansible/roles/ssh_users/tasks/main.yml @@ -49,6 +49,7 @@ - name: kill processes running as deactivated users ansible.builtin.shell: cmd: "pkill -U {{ item }}" + ignore_errors: true with_items: "{{ deactivated_usernames }}" - name: remove any stale users