failed: [XXX] (item=awx) => {"ansible_loop_var": "item", "changed": false, "item": "awx", "msg": "userdel: user awx is currently used by process 972\n", "name": "awx", "rc": 8}
failed: [XXX] (item=awx) => {"ansible_loop_var": "item", "changed": false, "item": "awx", "msg": "userdel: user awx is currently used by process 974\n", "name": "awx", "rc": 8}
failed: [XXX] (item=awx) => {"ansible_loop_var": "item", "changed": false, "item": "awx", "msg": "userdel: user awx is currently used by process 81430\n", "name": "awx", "rc": 8}
The process was systemd.
STEPS TO REPRODUCE
---
- name: Playbook to configure ansible automation platform installation
hosts: all
tasks:
- name: Include aap_setup_install role
ansible.builtin.include_role:
name: infra.aap_utilities.aap_setup_install
when: inventory_hostname in groups["install_host"]
- name: Include aap_setup_install role
ansible.builtin.include_role:
name: infra.aap_utilities.aap_setup_install
Summary
The role infra.aap_utilities.aap_remove failed at the task
remove added users
Issue Type
Ansible, Collection, Docker/Podman details
OS / ENVIRONMENT
Desired Behavior
The role delete all users without error
Actual Behavior
After manual deleting the
awx
user withworks the role as expected.
The process was systemd.
STEPS TO REPRODUCE