ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [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_default_wrapper.yml ******************************************** 1 plays in /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml PLAY [Run tests_default.yml in check_mode] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Saturday 17 May 2025 23:47:33 -0400 (0:00:00.030) 0:00:00.030 ********** ok: [managed-node2] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Saturday 17 May 2025 23:47:33 -0400 (0:00:00.865) 0:00:00.896 ********** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.lxscp_2q.yaml", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create static inventory from hostvars] *********************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Saturday 17 May 2025 23:47:34 -0400 (0:00:00.421) 0:00:01.318 ********** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "929cc4772053819363203b2680917611e8b6a73a", "dest": "/tmp/ansible.lxscp_2q.yaml", "gid": 0, "group": "root", "md5sum": "f5bc8696dd4b8cd6d34fa687a3b81912", "mode": "0644", "owner": "root", "size": 473, "src": "/root/.ansible/tmp/ansible-tmp-1747540054.3244195-8489-14626030719379/source", "state": "file", "uid": 0 } TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Saturday 17 May 2025 23:47:35 -0400 (0:00:00.758) 0:00:02.076 ********** fatal: [managed-node2 -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.lxscp_2q.yaml", "--check", "tests_default.yml" ], "delta": "0:00:02.380072", "end": "2025-05-17 23:47:37.762982", "rc": 2, "start": "2025-05-17 23:47:35.382910" } STDOUT: ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults host_list declined parsing /tmp/ansible.lxscp_2q.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.lxscp_2q.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.lxscp_2q.yaml inventory source with yaml plugin 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_default.yml **************************************************** 1 plays in tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Test setup and check for ostree] ***************************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 Saturday 17 May 2025 23:47:35 -0400 (0:00:00.021) 0:00:00.021 ********** included: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 Saturday 17 May 2025 23:47:35 -0400 (0:00:00.014) 0:00:00.035 ********** <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.143> (0, b'/root\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775 `" && echo ansible-tmp-1747540055.9852245-8572-270570562635775="` echo /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775 `" ) && sleep 0'"'"'' <10.31.8.143> (0, b'ansible-tmp-1747540055.9852245-8572-270570562635775=/root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775\n', b'') Attempting python interpreter discovery <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'echo PLATFORM; uname; echo FOUND; command -v '"'"'"'"'"'"'"'"'/usr/bin/python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python3.5'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.7'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python2.6'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/libexec/platform-python'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'/usr/bin/python3'"'"'"'"'"'"'"'"'; command -v '"'"'"'"'"'"'"'"'python'"'"'"'"'"'"'"'"'; echo ENDFOUND && sleep 0'"'"'' <10.31.8.143> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.8.143> (0, b'{"platform_dist_result": ["centos", "8", ""], "osrelease_content": "NAME=\\"CentOS Stream\\"\\nVERSION=\\"8\\"\\nID=\\"centos\\"\\nID_LIKE=\\"rhel fedora\\"\\nVERSION_ID=\\"8\\"\\nPLATFORM_ID=\\"platform:el8\\"\\nPRETTY_NAME=\\"CentOS Stream 8\\"\\nANSI_COLOR=\\"0;31\\"\\nCPE_NAME=\\"cpe:/o:centos:centos:8\\"\\nHOME_URL=\\"https://centos.org/\\"\\nBUG_REPORT_URL=\\"https://bugzilla.redhat.com/\\"\\nREDHAT_SUPPORT_PRODUCT=\\"Red Hat Enterprise Linux 8\\"\\nREDHAT_SUPPORT_PRODUCT_VERSION=\\"CentOS Stream\\"\\n"}\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py <10.31.8.143> PUT /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmpe1b2eq22 TO /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/AnsiballZ_stat.py <10.31.8.143> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a '[10.31.8.143]' <10.31.8.143> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmpe1b2eq22 /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/AnsiballZ_stat.py\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/ /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a -tt 10.31.8.143 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.143> (0, b'\r\n{"changed": false, "stat": {"exists": false}, "invocation": {"module_args": {"path": "/run/ostree-booted", "follow": false, "get_md5": false, "get_checksum": true, "get_mime": true, "get_attributes": true, "checksum_algorithm": "sha1"}}}\r\n', b'Shared connection to 10.31.8.143 closed.\r\n') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1747540055.9852245-8572-270570562635775/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') ok: [managed-node2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/run/ostree-booted" } }, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 Saturday 17 May 2025 23:47:36 -0400 (0:00:00.519) 0:00:00.555 ********** ok: [managed-node2] => { "ansible_facts": { "__tlog_is_ostree": false }, "changed": false } META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Ensure sssd user/group exist in /etc files] ****************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 Saturday 17 May 2025 23:47:36 -0400 (0:00:00.057) 0:00:00.612 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [fedora.linux_system_roles.tlog : Set platform/version specific variables] *** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 Saturday 17 May 2025 23:47:36 -0400 (0:00:00.013) 0:00:00.625 ********** included: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.tlog : Ensure ansible_facts used by role] ****** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Saturday 17 May 2025 23:47:36 -0400 (0:00:00.021) 0:00:00.646 ********** <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.143> (0, b'/root\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370 `" && echo ansible-tmp-1747540056.5863752-8591-44295329121370="` echo /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370 `" ) && sleep 0'"'"'' <10.31.8.143> (0, b'ansible-tmp-1747540056.5863752-8591-44295329121370=/root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.8.143> PUT /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmpmrriq2zf TO /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/AnsiballZ_setup.py <10.31.8.143> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a '[10.31.8.143]' <10.31.8.143> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmpmrriq2zf /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/AnsiballZ_setup.py\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/ /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a -tt 10.31.8.143 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.143> (0, b'\r\n{"ansible_facts": {"ansible_distribution": "CentOS", "ansible_distribution_release": "NA", "ansible_distribution_version": "8", "ansible_distribution_major_version": "8", "ansible_distribution_file_path": "/etc/redhat-release", "ansible_distribution_file_variety": "RedHat", "ansible_distribution_file_parsed": true, "ansible_os_family": "RedHat", "gather_subset": ["!all", "!min", "distribution", "distribution_major_version", "distribution_version", "os_family"], "module_setup": true}, "invocation": {"module_args": {"gather_subset": ["!all", "!min", "distribution", "distribution_major_version", "distribution_version", "os_family"], "gather_timeout": 10, "filter": "*", "fact_path": "/etc/ansible/facts.d"}}}\r\n', b'Shared connection to 10.31.8.143 closed.\r\n') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1747540056.5863752-8591-44295329121370/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.tlog : Check if system is ostree] ************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.663) 0:00:01.310 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Set flag to indicate system is ostree] *** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.013) 0:00:01.324 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Run systemctl] ************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.012) 0:00:01.337 ********** <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.143> (0, b'/root\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265 `" && echo ansible-tmp-1747540057.269721-8618-9556082210265="` echo /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265 `" ) && sleep 0'"'"'' <10.31.8.143> (0, b'ansible-tmp-1747540057.269721-8618-9556082210265=/root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.8.143> PUT /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmph9lojjz_ TO /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/AnsiballZ_command.py <10.31.8.143> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a '[10.31.8.143]' <10.31.8.143> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8555d9xjjci0/tmph9lojjz_ /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/AnsiballZ_command.py\n', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/ /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a -tt 10.31.8.143 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.143> (0, b'\r\n{"msg": "skipped, running in check mode", "skipped": true, "invocation": {"module_args": {"_raw_params": "systemctl is-system-running", "warn": true, "_uses_shell": false, "stdin_add_newline": true, "strip_empty_ends": true, "argv": null, "chdir": null, "executable": null, "creates": null, "removes": null, "stdin": null}}}\r\n', b'Shared connection to 10.31.8.143 closed.\r\n') <10.31.8.143> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.143> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=10 -o ControlPath=/root/.ansible/cp/7c7001ee8a 10.31.8.143 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1747540057.269721-8618-9556082210265/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.143> (0, b'', b'') skipping: [managed-node2] => { "changed": false, "invocation": { "module_args": { "_raw_params": "systemctl is-system-running", "_uses_shell": false, "argv": null, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "stdin_add_newline": true, "strip_empty_ends": true, "warn": true } } } MSG: skipped, running in check mode TASK [fedora.linux_system_roles.tlog : Require installed systemd] ************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.419) 0:00:01.756 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.046) 0:00:01.802 ********** fatal: [managed-node2]: FAILED! => {} MSG: The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout' The error appears to be in '/tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml': line 34, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Set flag to indicate that systemd runtime operations are available ^ here PLAY RECAP ********************************************************************* managed-node2 : ok=5 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 Saturday 17 May 2025 23:47:37 -0400 (0:00:00.014) 0:00:01.817 ********** =============================================================================== fedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.66s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Check if system is ostree ----------------------------------------------- 0.52s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 fedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.42s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 fedora.linux_system_roles.tlog : Require installed systemd -------------- 0.05s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 fedora.linux_system_roles.tlog : Set platform/version specific variables --- 0.02s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.01s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 Test setup and check for ostree ----------------------------------------- 0.01s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 fedora.linux_system_roles.tlog : Check if system is ostree -------------- 0.01s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 Ensure sssd user/group exist in /etc files ------------------------------ 0.01s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 fedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.01s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 STDERR: [WARNING]: running playbook inside collection fedora.linux_system_roles MSG: non-zero return code TASK [Remove the temporary file] *********************************************** task path: /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31 Saturday 17 May 2025 23:47:37 -0400 (0:00:02.743) 0:00:04.819 ********** changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/ansible.lxscp_2q.yaml", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 17 May 2025 23:47:38 -0400 (0:00:00.351) 0:00:05.171 ********** =============================================================================== Run ansible-playbook with tests_default.yml in check mode --------------- 2.74s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Create static inventory from hostvars ----------------------------------- 0.76s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Create temporary file --------------------------------------------------- 0.42s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Remove the temporary file ----------------------------------------------- 0.35s /tmp/collections-9Gx/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31