Skip to content

Commit

Permalink
fix: force delete user
Browse files Browse the repository at this point in the history
fixing error: userdel: user awx is currently used by process <id>
  • Loading branch information
ducke committed Sep 20, 2024
1 parent 5412dac commit cc1589c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/aap_remove/tasks/ah_remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
ansible.builtin.user:
name: "{{ item }}"
state: absent
force: true
remove: true
loop:
- postgres
Expand Down
1 change: 1 addition & 0 deletions roles/aap_remove/tasks/controller_remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
ansible.builtin.user:
name: "{{ item }}"
state: absent
force: true
remove: true
loop:
- postgres
Expand Down

0 comments on commit cc1589c

Please sign in to comment.