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-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Thursday 05 June 2025 09:36:09 -0400 (0:00:00.020) 0:00:00.020 ********* ok: [managed-node2] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Thursday 05 June 2025 09:36:10 -0400 (0:00:00.914) 0:00:00.934 ********* changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.662pzpzt.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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Thursday 05 June 2025 09:36:11 -0400 (0:00:00.433) 0:00:01.367 ********* changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "31c26f5fe370539a965cfc187e68ddc27830fa87", "dest": "/tmp/ansible.662pzpzt.yaml", "gid": 0, "group": "root", "md5sum": "62b4961ca153a93c86ac1c72f597230d", "mode": "0644", "owner": "root", "size": 473, "src": "/root/.ansible/tmp/ansible-tmp-1749130571.235648-8686-205741573980845/source", "state": "file", "uid": 0 } TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Thursday 05 June 2025 09:36:11 -0400 (0:00:00.743) 0:00:02.111 ********* fatal: [managed-node2 -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.662pzpzt.yaml", "--check", "tests_default.yml" ], "delta": "0:00:02.419097", "end": "2025-06-05 09:36:14.663164", "rc": 2, "start": "2025-06-05 09:36:12.244067" } 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.662pzpzt.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.662pzpzt.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.662pzpzt.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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 Thursday 05 June 2025 09:36:12 -0400 (0:00:00.022) 0:00:00.022 ********* included: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 Thursday 05 June 2025 09:36:12 -0400 (0:00:00.015) 0:00:00.037 ********* <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.208> (0, b'/root\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846 `" && echo ansible-tmp-1749130572.8614976-8744-118747732071846="` echo /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846 `" ) && sleep 0'"'"'' <10.31.8.208> (0, b'ansible-tmp-1749130572.8614976-8744-118747732071846=/root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846\n', b'') Attempting python interpreter discovery <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/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.208> (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.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.8.208> (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.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmp77bheg8h TO /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py <10.31.8.208> 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/79cefb96a3 '[10.31.8.208]' <10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmp77bheg8h /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/ /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.208> (0, b'', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.8.208> (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.208 closed.\r\n') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.208> (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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 Thursday 05 June 2025 09:36:13 -0400 (0:00:00.558) 0:00:00.596 ********* 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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 Thursday 05 June 2025 09:36:13 -0400 (0:00:00.061) 0:00:00.657 ********* 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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 Thursday 05 June 2025 09:36:13 -0400 (0:00:00.013) 0:00:00.671 ********* included: /tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Thursday 05 June 2025 09:36:13 -0400 (0:00:00.019) 0:00:00.691 ********* <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.208> (0, b'/root\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594 `" && echo ansible-tmp-1749130573.5046284-8761-163748760913594="` echo /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594 `" ) && sleep 0'"'"'' <10.31.8.208> (0, b'ansible-tmp-1749130573.5046284-8761-163748760913594=/root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.8.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpedeuuph9 TO /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py <10.31.8.208> 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/79cefb96a3 '[10.31.8.208]' <10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpedeuuph9 /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/ /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.208> (0, b'', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.8.208> (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.208 closed.\r\n') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.208> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.tlog : Check if system is ostree] ************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 Thursday 05 June 2025 09:36:14 -0400 (0:00:00.650) 0:00:01.342 ********* 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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 Thursday 05 June 2025 09:36:14 -0400 (0:00:00.014) 0:00:01.357 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Run systemctl] ************************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Thursday 05 June 2025 09:36:14 -0400 (0:00:00.015) 0:00:01.372 ********* <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.8.208> (0, b'/root\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303 `" && echo ansible-tmp-1749130574.1756573-8779-165888709108303="` echo /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303 `" ) && sleep 0'"'"'' <10.31.8.208> (0, b'ansible-tmp-1749130574.1756573-8779-165888709108303=/root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.8.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpyy085oy7 TO /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py <10.31.8.208> 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/79cefb96a3 '[10.31.8.208]' <10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpyy085oy7 /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py\n', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/ /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.208> (0, b'', b'') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py && sleep 0'"'"'' <10.31.8.208> (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.208 closed.\r\n') <10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None <10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.8.208> (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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Thursday 05 June 2025 09:36:14 -0400 (0:00:00.437) 0:00:01.809 ********* 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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 Thursday 05 June 2025 09:36:14 -0400 (0:00:00.016) 0:00:01.826 ********* 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-iAM/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-05T13:36:14.603689+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-iAM/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-05T13:36:14.590368+00:00Z", "task_name": "Set flag to indicate that systemd runtime operations are available", "task_path": "/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 05 June 2025 09:36:14 -0400 (0:00:00.015) 0:00:01.841 ********* =============================================================================== fedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.65s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Check if system is ostree ----------------------------------------------- 0.56s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 fedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.44s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 fedora.linux_system_roles.tlog : Require installed systemd -------------- 0.02s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Test setup and check for ostree ----------------------------------------- 0.02s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 fedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.02s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.02s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 fedora.linux_system_roles.tlog : Check if system is ostree -------------- 0.01s /tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 STDERR: [WARNING]: running playbook inside collection fedora.linux_system_roles MSG: non-zero return code TASK [Remove the temporary file] *********************************************** task path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31 Thursday 05 June 2025 09:36:14 -0400 (0:00:02.752) 0:00:04.863 ********* changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/ansible.662pzpzt.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.419097", "end_time": "2025-06-05 09:36:14.663164", "host": "managed-node2", "message": "non-zero return code", "rc": 2, "start_time": "2025-06-05 09:36:12.244067", "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.662pzpzt.yaml as it did not pass its verify_file() method\nscript declined parsing /tmp/ansible.662pzpzt.yaml as it did not pass its verify_file() method\nParsed /tmp/ansible.662pzpzt.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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8\nThursday 05 June 2025 09:36:12 -0400 (0:00:00.022) 0:00:00.022 ********* \nincluded: /tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6\nThursday 05 June 2025 09:36:12 -0400 (0:00:00.015) 0:00:00.037 ********* \n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.8.208> (0, b'/root\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846 `\" && echo ansible-tmp-1749130572.8614976-8744-118747732071846=\"` echo /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846 `\" ) && sleep 0'\"'\"''\n<10.31.8.208> (0, b'ansible-tmp-1749130572.8614976-8744-118747732071846=/root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846\\n', b'')\n Attempting python interpreter discovery\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/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.8.208> (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.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'/usr/bin/python3.6 && sleep 0'\"'\"''\n<10.31.8.208> (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.8.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmp77bheg8h TO /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py\n<10.31.8.208> 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/79cefb96a3 '[10.31.8.208]'\n<10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmp77bheg8h /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/ /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py && sleep 0'\"'\"''\n<10.31.8.208> (0, b'', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/AnsiballZ_stat.py && sleep 0'\"'\"''\n<10.31.8.208> (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.208 closed.\\r\\n')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130572.8614976-8744-118747732071846/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.8.208> (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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11\nThursday 05 June 2025 09:36:13 -0400 (0:00:00.558) 0:00:00.596 ********* \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-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21\nThursday 05 June 2025 09:36:13 -0400 (0:00:00.061) 0:00:00.657 ********* \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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2\nThursday 05 June 2025 09:36:13 -0400 (0:00:00.013) 0:00:00.671 ********* \nincluded: /tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2\nThursday 05 June 2025 09:36:13 -0400 (0:00:00.019) 0:00:00.691 ********* \n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.8.208> (0, b'/root\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594 `\" && echo ansible-tmp-1749130573.5046284-8761-163748760913594=\"` echo /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594 `\" ) && sleep 0'\"'\"''\n<10.31.8.208> (0, b'ansible-tmp-1749130573.5046284-8761-163748760913594=/root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594\\n', b'')\nUsing module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py\n<10.31.8.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpedeuuph9 TO /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py\n<10.31.8.208> 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/79cefb96a3 '[10.31.8.208]'\n<10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpedeuuph9 /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/ /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py && sleep 0'\"'\"''\n<10.31.8.208> (0, b'', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/AnsiballZ_setup.py && sleep 0'\"'\"''\n<10.31.8.208> (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.208 closed.\\r\\n')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130573.5046284-8761-163748760913594/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.8.208> (0, b'', b'')\nok: [managed-node2]\n\nTASK [fedora.linux_system_roles.tlog : Check if system is ostree] **************\ntask path: /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.650) 0:00:01.342 ********* \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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.014) 0:00:01.357 ********* \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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.015) 0:00:01.372 ********* \n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'echo ~ && sleep 0'\"'\"''\n<10.31.8.208> (0, b'/root\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'( umask 77 && mkdir -p \"` echo /root/.ansible/tmp `\"&& mkdir \"` echo /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303 `\" && echo ansible-tmp-1749130574.1756573-8779-165888709108303=\"` echo /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303 `\" ) && sleep 0'\"'\"''\n<10.31.8.208> (0, b'ansible-tmp-1749130574.1756573-8779-165888709108303=/root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303\\n', b'')\nUsing module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py\n<10.31.8.208> PUT /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpyy085oy7 TO /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py\n<10.31.8.208> 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/79cefb96a3 '[10.31.8.208]'\n<10.31.8.208> (0, b'sftp> put /root/.ansible/tmp/ansible-local-87326quwo9d3/tmpyy085oy7 /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py\\n', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'chmod u+x /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/ /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py && sleep 0'\"'\"''\n<10.31.8.208> (0, b'', b'')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 -tt 10.31.8.208 '/bin/sh -c '\"'\"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/AnsiballZ_command.py && sleep 0'\"'\"''\n<10.31.8.208> (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.208 closed.\\r\\n')\n<10.31.8.208> ESTABLISH SSH CONNECTION FOR USER: None\n<10.31.8.208> 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/79cefb96a3 10.31.8.208 '/bin/sh -c '\"'\"'rm -f -r /root/.ansible/tmp/ansible-tmp-1749130574.1756573-8779-165888709108303/ > /dev/null 2>&1 && sleep 0'\"'\"''\n<10.31.8.208> (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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.437) 0:00:01.809 ********* \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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.016) 0:00:01.826 ********* \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-iAM/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-05T13:36:14.603689+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-iAM/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-05T13:36:14.590368+00:00Z\",\n \"task_name\": \"Set flag to indicate that systemd runtime operations are available\",\n \"task_path\": \"/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34\"\n }\n]\nSYSTEM ROLES ERRORS END v1\n\nTASKS RECAP ********************************************************************\nThursday 05 June 2025 09:36:14 -0400 (0:00:00.015) 0:00:01.841 ********* \n=============================================================================== \nfedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.65s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 \nCheck if system is ostree ----------------------------------------------- 0.56s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 \nfedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.44s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 \nSet flag to indicate system is ostree ----------------------------------- 0.06s\n/tmp/collections-iAM/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-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 \nfedora.linux_system_roles.tlog : Require installed systemd -------------- 0.02s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 \nTest setup and check for ostree ----------------------------------------- 0.02s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 \nfedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.02s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 \nfedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.02s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 \nfedora.linux_system_roles.tlog : Check if system is ostree -------------- 0.01s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 \nEnsure sssd user/group exist in /etc files ------------------------------ 0.01s\n/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 ", "task_name": "Run ansible-playbook with tests_default.yml in check mode", "task_path": "/tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Thursday 05 June 2025 09:36:15 -0400 (0:00:00.373) 0:00:05.237 ********* =============================================================================== Run ansible-playbook with tests_default.yml in check mode --------------- 2.75s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Create static inventory from hostvars ----------------------------------- 0.74s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Create temporary file --------------------------------------------------- 0.43s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Remove the temporary file ----------------------------------------------- 0.37s /tmp/collections-iAM/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31