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-mfr/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-mfr/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:58 Monday 11 November 2024 18:51:32 -0500 (0:00:00.037) 0:00:00.037 ******* 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-mfr/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64 Monday 11 November 2024 18:51:33 -0500 (0:00:01.390) 0:00:01.428 ******* TASK [fedora.linux_system_roles.systemd : Ensure ansible_facts used by role] *** task path: /tmp/collections-mfr/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 Monday 11 November 2024 18:51:33 -0500 (0:00:00.146) 0:00:01.574 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later] *** task path: /tmp/collections-mfr/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Monday 11 November 2024 18:51:35 -0500 (0:00:01.164) 0:00:02.739 ******* 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 18:51:35 -0500 (0:00:00.161) 0:00:02.900 ******* =============================================================================== Create users ------------------------------------------------------------ 1.39s /tmp/collections-mfr/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.16s /tmp/collections-mfr/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.16s /tmp/collections-mfr/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Run role to create and start units -------------------------------------- 0.15s /tmp/collections-mfr/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64