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 'jsonl', 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-8nn/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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Saturday 07 June 2025 23:53:40 -0400 (0:00:00.022) 0:00:00.022 ********* ok: [managed-node2] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Saturday 07 June 2025 23:53:41 -0400 (0:00:00.919) 0:00:00.942 ********* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.gzpspxkw.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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Saturday 07 June 2025 23:53:41 -0400 (0:00:00.430) 0:00:01.372 ********* changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "b7fcea2014452344d81c96f4801de9144c699c2c", "dest": "/tmp/ansible.gzpspxkw.yaml", "gid": 0, "group": "root", "md5sum": "188ca33e46ddcb8cc45ba1c197a2e0ac", "mode": "0644", "owner": "root", "size": 476, "src": "/root/.ansible/tmp/ansible-tmp-1749354821.7404165-8562-33847637420527/source", "state": "file", "uid": 0 } TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Saturday 07 June 2025 23:53:42 -0400 (0:00:00.775) 0:00:02.148 ********* fatal: [managed-node2 -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.gzpspxkw.yaml", "--check", "tests_default.yml" ], "delta": "0:00:02.476801", "end": "2025-06-07 23:53:45.380543", "rc": 2, "start": "2025-06-07 23:53:42.903742" } 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.gzpspxkw.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.gzpspxkw.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.gzpspxkw.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 'jsonl', 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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 Saturday 07 June 2025 23:53:43 -0400 (0:00:00.025) 0:00:00.025 ********* included: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 Saturday 07 June 2025 23:53:43 -0400 (0:00:00.016) 0:00:00.042 ********* <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.46.120> (0, b'/root\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820 `" && echo ansible-tmp-1749354823.6166217-8631-193712795463820="` echo /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820 `" ) && sleep 0'"'"'' <10.31.46.120> (0, b'ansible-tmp-1749354823.6166217-8631-193712795463820=/root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820\n', b'') Attempting python interpreter discovery <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/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.46.120> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.46.120> (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.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpzjhae3tk TO /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py <10.31.46.120> 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/117f36223e '[10.31.46.120]' <10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpzjhae3tk /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/ /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.46.120> (0, b'', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.46.120> (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.46.120 closed.\r\n') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.46.120> (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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.542) 0:00:00.585 ********* 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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.066) 0:00:00.651 ********* 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-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.014) 0:00:00.665 ********* included: /tmp/collections-8nn/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-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.021) 0:00:00.687 ********* <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.46.120> (0, b'/root\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174 `" && echo ansible-tmp-1749354824.2450156-8653-52243694010174="` echo /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174 `" ) && sleep 0'"'"'' <10.31.46.120> (0, b'ansible-tmp-1749354824.2450156-8653-52243694010174=/root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpxjfy9yvf TO /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py <10.31.46.120> 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/117f36223e '[10.31.46.120]' <10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpxjfy9yvf /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/ /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.46.120> (0, b'', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.46.120> (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.46.120 closed.\r\n') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.46.120> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.tlog : Check if system is ostree] ************** task path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.647) 0:00:01.334 ********* 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-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.018) 0:00:01.352 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Run systemctl] ************************** task path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Saturday 07 June 2025 23:53:44 -0400 (0:00:00.013) 0:00:01.366 ********* <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.46.120> (0, b'/root\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344 `" && echo ansible-tmp-1749354824.9193385-8671-54955792404344="` echo /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344 `" ) && sleep 0'"'"'' <10.31.46.120> (0, b'ansible-tmp-1749354824.9193385-8671-54955792404344=/root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpv1j70one TO /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py <10.31.46.120> 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/117f36223e '[10.31.46.120]' <10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpv1j70one /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py\n', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/ /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py && sleep 0'"'"'' <10.31.46.120> (0, b'', b'') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py && sleep 0'"'"'' <10.31.46.120> (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.46.120 closed.\r\n') <10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None <10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.46.120> (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-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Saturday 07 June 2025 23:53:45 -0400 (0:00:00.425) 0:00:01.792 ********* 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-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 Saturday 07 June 2025 23:53:45 -0400 (0:00:00.017) 0:00:01.809 ********* 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-8nn/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 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "end_time": "2025-06-08T03:53:45.336232+00:00Z", "host": "managed-node2", "message": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set flag to indicate that systemd runtime operations are available\n ^ here\n", "start_time": "2025-06-08T03:53:45.323690+00:00Z", "task_name": "Set flag to indicate that systemd runtime operations are available", "task_path": "/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 07 June 2025 23:53:45 -0400 (0:00:00.014) 0:00:01.823 ********* =============================================================================== fedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.65s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 fedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.43s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Set flag to indicate system is ostree ----------------------------------- 0.07s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 fedora.linux_system_roles.tlog : Set platform/version specific variables --- 0.02s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 fedora.linux_system_roles.tlog : Check if system is ostree -------------- 0.02s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 fedora.linux_system_roles.tlog : Require installed systemd -------------- 0.02s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Test setup and check for ostree ----------------------------------------- 0.02s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 Ensure sssd user/group exist in /etc files ------------------------------ 0.01s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.01s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 fedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.01s /tmp/collections-8nn/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-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31 Saturday 07 June 2025 23:53:45 -0400 (0:00:02.931) 0:00:05.080 ********* changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/ansible.gzpspxkw.yaml", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.9.27", "delta": "0:00:02.476801", "end_time": "2025-06-07 23:53:45.380543", "host": "managed-node2", "message": "non-zero return code", "rc": 2, "start_time": "2025-06-07 23:53:42.903742", "stderr": "[WARNING]: running playbook inside collection fedora.linux_system_roles", "stdout": "ansible-playbook 2.9.27\n config file = None\n configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']\n ansible python module location = /usr/local/lib/python3.9/site-packages/ansible\n executable location = /usr/local/bin/ansible-playbook\n python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]\nNo config file found; using defaults\nhost_list declined parsing /tmp/ansible.gzpspxkw.yaml as it did not pass its verify_file() method\nscript declined parsing /tmp/ansible.gzpspxkw.yaml as it did not pass its verify_file() method\nParsed /tmp/ansible.gzpspxkw.yaml inventory source with yaml plugin\nSkipping callback 'actionable', as we already have a stdout callback.\nSkipping callback 'counter_enabled', as we already have a stdout callback.\nSkipping callback 'debug', as we already have a stdout callback.\nSkipping callback 'dense', as we already have a stdout callback.\nSkipping callback 'dense', as we already have a stdout callback.\nSkipping callback 'full_skip', as we already have a stdout callback.\nSkipping callback 'json', as we already have a stdout callback.\nSkipping callback 'jsonl', as we already have a stdout callback.\nSkipping callback 'minimal', as we already have a stdout callback.\nSkipping callback 'null', as we already have a stdout callback.\nSkipping callback 'oneline', as we already have a stdout callback.\nSkipping callback 'selective', as we already have a stdout callback.\nSkipping callback 'skippy', as we already have a stdout callback.\nSkipping callback 'stderr', as we already have a stdout callback.\nSkipping callback 'unixy', as we already have a stdout callback.\nSkipping callback 'yaml', as we already have a stdout callback.\n\nPLAYBOOK: tests_default.yml ****************************************************\n1 plays in tests_default.yml\n\nPLAY [Ensure that the role runs with default parameters] ***********************\n\nTASK [Test setup and check for ostree] *****************************************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8\nSaturday 07 June 2025 23:53:43 -0400 (0:00:00.025) 0:00:00.025 ********* \nincluded: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml for managed-node2\n\nTASK [Check if system is ostree] ***********************************************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6\nSaturday 07 June 2025 23:53:43 -0400 (0:00:00.016) 0:00:00.042 ********* \n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.46.120> (0, b'/root\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820 `\" && echo ansible-tmp-1749354823.6166217-8631-193712795463820=\"` echo /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820 `\" ) && sleep 0'\"'\"''\n<10.31.46.120> (0, b'ansible-tmp-1749354823.6166217-8631-193712795463820=/root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820\\n', b'')\n Attempting python interpreter discovery\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/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'\"'\"''\n<10.31.46.120> (0, b'PLATFORM\\nLinux\\nFOUND\\n/usr/bin/python3.6\\n/usr/libexec/platform-python\\n/usr/bin/python3\\nENDFOUND\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'/usr/bin/python3.6 && sleep 0'\"'\"''\n<10.31.46.120> (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'')\nUsing module file /usr/local/lib/python3.9/site-packages/ansible/modules/files/stat.py\n<10.31.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpzjhae3tk TO /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py\n<10.31.46.120> 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/117f36223e '[10.31.46.120]'\n<10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpzjhae3tk /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/ /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/AnsiballZ_stat.py && sleep 0'\"'\"''\n<10.31.46.120> (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.46.120 closed.\\r\\n')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354823.6166217-8631-193712795463820/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\nok: [managed-node2] => {\n \"ansible_facts\": {\n \"discovered_interpreter_python\": \"/usr/libexec/platform-python\"\n },\n \"changed\": false,\n \"invocation\": {\n \"module_args\": {\n \"checksum_algorithm\": \"sha1\",\n \"follow\": false,\n \"get_attributes\": true,\n \"get_checksum\": true,\n \"get_md5\": false,\n \"get_mime\": true,\n \"path\": \"/run/ostree-booted\"\n }\n },\n \"stat\": {\n \"exists\": false\n }\n}\n\nTASK [Set flag to indicate system is ostree] ***********************************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.542) 0:00:00.585 ********* \nok: [managed-node2] => {\n \"ansible_facts\": {\n \"__tlog_is_ostree\": false\n },\n \"changed\": false\n}\nMETA: end_host conditional evaluated to false, continuing execution for managed-node2\n\nTASK [Ensure sssd user/group exist in /etc files] ******************************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.066) 0:00:00.651 ********* \nskipping: [managed-node2] => {\n \"changed\": false,\n \"skip_reason\": \"Conditional result was False\"\n}\nMETA: ran handlers\n\nTASK [fedora.linux_system_roles.tlog : Set platform/version specific variables] ***\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.014) 0:00:00.665 ********* \nincluded: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml for managed-node2\n\nTASK [fedora.linux_system_roles.tlog : Ensure ansible_facts used by role] ******\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.021) 0:00:00.687 ********* \n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.46.120> (0, b'/root\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174 `\" && echo ansible-tmp-1749354824.2450156-8653-52243694010174=\"` echo /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174 `\" ) && sleep 0'\"'\"''\n<10.31.46.120> (0, b'ansible-tmp-1749354824.2450156-8653-52243694010174=/root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174\\n', b'')\nUsing module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py\n<10.31.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpxjfy9yvf TO /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py\n<10.31.46.120> 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/117f36223e '[10.31.46.120]'\n<10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpxjfy9yvf /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/ /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/AnsiballZ_setup.py && sleep 0'\"'\"''\n<10.31.46.120> (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.46.120 closed.\\r\\n')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354824.2450156-8653-52243694010174/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\nok: [managed-node2]\n\nTASK [fedora.linux_system_roles.tlog : Check if system is ostree] **************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.647) 0:00:01.334 ********* \nskipping: [managed-node2] => {\n \"changed\": false,\n \"skip_reason\": \"Conditional result was False\"\n}\n\nTASK [fedora.linux_system_roles.tlog : Set flag to indicate system is ostree] ***\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.018) 0:00:01.352 ********* \nskipping: [managed-node2] => {\n \"changed\": false,\n \"skip_reason\": \"Conditional result was False\"\n}\n\nTASK [fedora.linux_system_roles.tlog : Run systemctl] **************************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22\nSaturday 07 June 2025 23:53:44 -0400 (0:00:00.013) 0:00:01.366 ********* \n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.46.120> (0, b'/root\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344 `\" && echo ansible-tmp-1749354824.9193385-8671-54955792404344=\"` echo /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344 `\" ) && sleep 0'\"'\"''\n<10.31.46.120> (0, b'ansible-tmp-1749354824.9193385-8671-54955792404344=/root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344\\n', b'')\nUsing module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py\n<10.31.46.120> PUT /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpv1j70one TO /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py\n<10.31.46.120> 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/117f36223e '[10.31.46.120]'\n<10.31.46.120> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8616y8t62jzx/tmpv1j70one /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py\\n', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/ /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e -tt 10.31.46.120 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/AnsiballZ_command.py && sleep 0'\"'\"''\n<10.31.46.120> (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.46.120 closed.\\r\\n')\n<10.31.46.120> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.46.120> 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/117f36223e 10.31.46.120 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749354824.9193385-8671-54955792404344/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.46.120> (0, b'', b'')\nskipping: [managed-node2] => {\n \"changed\": false,\n \"invocation\": {\n \"module_args\": {\n \"_raw_params\": \"systemctl is-system-running\",\n \"_uses_shell\": false,\n \"argv\": null,\n \"chdir\": null,\n \"creates\": null,\n \"executable\": null,\n \"removes\": null,\n \"stdin\": null,\n \"stdin_add_newline\": true,\n \"strip_empty_ends\": true,\n \"warn\": true\n }\n }\n}\n\nMSG:\n\nskipped, running in check mode\n\nTASK [fedora.linux_system_roles.tlog : Require installed systemd] **************\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29\nSaturday 07 June 2025 23:53:45 -0400 (0:00:00.425) 0:00:01.792 ********* \nskipping: [managed-node2] => {\n \"changed\": false,\n \"skip_reason\": \"Conditional result was False\"\n}\n\nTASK [fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available] ***\ntask path: /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34\nSaturday 07 June 2025 23:53:45 -0400 (0:00:00.017) 0:00:01.809 ********* \nfatal: [managed-node2]: FAILED! => {}\n\nMSG:\n\nThe task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\n\nThe error appears to be in '/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml': line 34, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Set flag to indicate that systemd runtime operations are available\n ^ here\n\n\nPLAY RECAP *********************************************************************\nmanaged-node2 : ok=5 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 \n\nSYSTEM ROLES ERRORS BEGIN v1\n[\n {\n \"ansible_version\": \"2.9.27\",\n \"end_time\": \"2025-06-08T03:53:45.336232+00:00Z\",\n \"host\": \"managed-node2\",\n \"message\": \"The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'stdout'\\n\\nThe error appears to be in '/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml': line 34, column 7, but may\\nbe elsewhere in the file depending on the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n\\n - name: Set flag to indicate that systemd runtime operations are available\\n ^ here\\n\",\n \"start_time\": \"2025-06-08T03:53:45.323690+00:00Z\",\n \"task_name\": \"Set flag to indicate that systemd runtime operations are available\",\n \"task_path\": \"/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34\"\n }\n]\nSYSTEM ROLES ERRORS END v1\n\nTASKS RECAP ********************************************************************\nSaturday 07 June 2025 23:53:45 -0400 (0:00:00.014) 0:00:01.823 ********* \n=============================================================================== \nfedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.65s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 \nCheck if system is ostree ----------------------------------------------- 0.54s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 \nfedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.43s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 \nSet flag to indicate system is ostree ----------------------------------- 0.07s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 \nfedora.linux_system_roles.tlog : Set platform/version specific variables --- 0.02s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 \nfedora.linux_system_roles.tlog : Check if system is ostree -------------- 0.02s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 \nfedora.linux_system_roles.tlog : Require installed systemd -------------- 0.02s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 \nTest setup and check for ostree ----------------------------------------- 0.02s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 \nEnsure sssd user/group exist in /etc files ------------------------------ 0.01s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 \nfedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.01s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 \nfedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.01s\n/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 ", "task_name": "Run ansible-playbook with tests_default.yml in check mode", "task_path": "/tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 07 June 2025 23:53:45 -0400 (0:00:00.376) 0:00:05.456 ********* =============================================================================== Run ansible-playbook with tests_default.yml in check mode --------------- 2.93s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Gathering Facts --------------------------------------------------------- 0.92s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Create static inventory from hostvars ----------------------------------- 0.78s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Create temporary file --------------------------------------------------- 0.43s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Remove the temporary file ----------------------------------------------- 0.38s /tmp/collections-8nn/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31