From 1fde7ff5ba11135b8c41014962e472530c92b170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Wed, 10 Jul 2024 18:50:10 +0200 Subject: [PATCH] ignore_errors: true --- ansible/roles/ssh_users/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) 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