ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_user_units.yml ************************************************* 1 plays in /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml PLAY [Ensure that the role works with a mix of user and system units] ********** META: ran handlers TASK [Create users] ************************************************************ task path: /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:58 Monday 11 November 2024 16:52:19 -0500 (0:00:00.040) 0:00:00.040 ******* changed: [managed-node2] => (item={u'name': u'systemd_user1', u'uid': 5411}) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 5411, "home": "/home/systemd_user1", "item": { "name": "systemd_user1", "uid": 5411 }, "name": "systemd_user1", "shell": "/bin/bash", "state": "present", "system": false, "uid": 5411 } changed: [managed-node2] => (item={u'name': u'systemd_user2', u'uid': 5412}) => { "ansible_loop_var": "item", "changed": true, "comment": "", "create_home": true, "group": 5412, "home": "/home/systemd_user2", "item": { "name": "systemd_user2", "uid": 5412 }, "name": "systemd_user2", "shell": "/bin/bash", "state": "present", "system": false, "uid": 5412 } TASK [Run role to create and start units] ************************************** task path: /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64 Monday 11 November 2024 16:52:21 -0500 (0:00:01.405) 0:00:01.445 ******* TASK [fedora.linux_system_roles.systemd : Ensure ansible_facts used by role] *** task path: /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 Monday 11 November 2024 16:52:21 -0500 (0:00:00.131) 0:00:01.576 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later] *** task path: /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Monday 11 November 2024 16:52:22 -0500 (0:00:01.034) 0:00:02.611 ******* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ending play for managed-node2 PLAY RECAP ********************************************************************* managed-node2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Monday 11 November 2024 16:52:22 -0500 (0:00:00.182) 0:00:02.794 ******* =============================================================================== Create users ------------------------------------------------------------ 1.41s /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:58 fedora.linux_system_roles.systemd : Ensure ansible_facts used by role --- 1.03s /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later --- 0.18s /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Run role to create and start units -------------------------------------- 0.13s /tmp/collections-X4d/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64