Skip to content

Commit

Permalink
ignore_errors: true
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Jul 10, 2024
1 parent 4a50a55 commit 1fde7ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/ssh_users/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fde7ff

Please sign in to comment.