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-d7M/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-d7M/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:58 Saturday 23 November 2024 18:15:28 -0500 (0:00:00.038) 0:00:00.038 ***** 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-d7M/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64 Saturday 23 November 2024 18:15:29 -0500 (0:00:01.401) 0:00:01.440 ***** TASK [fedora.linux_system_roles.systemd : Ensure ansible_facts used by role] *** task path: /tmp/collections-d7M/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:3 Saturday 23 November 2024 18:15:29 -0500 (0:00:00.090) 0:00:01.530 ***** ok: [managed-node2] TASK [fedora.linux_system_roles.systemd : Support for user units only available in EL7 and later] *** task path: /tmp/collections-d7M/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Saturday 23 November 2024 18:15:31 -0500 (0:00:01.137) 0:00:02.668 ***** 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 Saturday 23 November 2024 18:15:31 -0500 (0:00:00.209) 0:00:02.877 ***** =============================================================================== Create users ------------------------------------------------------------ 1.40s /tmp/collections-d7M/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.14s /tmp/collections-d7M/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.21s /tmp/collections-d7M/ansible_collections/fedora/linux_system_roles/roles/systemd/tasks/main.yml:13 Run role to create and start units -------------------------------------- 0.09s /tmp/collections-d7M/ansible_collections/fedora/linux_system_roles/tests/systemd/tests_user_units.yml:64