ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default_wrapper.yml ******************************************** 1 plays in /tmp/collections-OsF/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-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Saturday 10 May 2025 23:52:51 -0400 (0:00:00.019) 0:00:00.019 ********** ok: [managed-node2] META: ran handlers TASK [Create temporary file] *************************************************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Saturday 10 May 2025 23:52:52 -0400 (0:00:00.911) 0:00:00.931 ********** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.yuyu_j95.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-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Saturday 10 May 2025 23:52:52 -0400 (0:00:00.437) 0:00:01.368 ********** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "c544f0278e2c2e0ad6a4a5164b24537bab0faf8f", "dest": "/tmp/ansible.yuyu_j95.yaml", "gid": 0, "group": "root", "md5sum": "c0e76b84b9738714203c5f3fe805dec4", "mode": "0644", "owner": "root", "size": 477, "src": "/root/.ansible/tmp/ansible-tmp-1746935572.9455607-8522-187076223986145/source", "state": "file", "uid": 0 } TASK [Run ansible-playbook with tests_default.yml in check mode] *************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Saturday 10 May 2025 23:52:53 -0400 (0:00:00.831) 0:00:02.200 ********** fatal: [managed-node2 -> localhost]: FAILED! => { "changed": false, "cmd": [ "ansible-playbook", "-vvv", "-i", "/tmp/ansible.yuyu_j95.yaml", "--check", "tests_default.yml" ], "delta": "0:00:02.400985", "end": "2025-05-10 23:52:56.495785", "rc": 2, "start": "2025-05-10 23:52:54.094800" } 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.yuyu_j95.yaml as it did not pass its verify_file() method script declined parsing /tmp/ansible.yuyu_j95.yaml as it did not pass its verify_file() method Parsed /tmp/ansible.yuyu_j95.yaml inventory source with yaml plugin Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Test setup and check for ostree] ***************************************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 Saturday 10 May 2025 23:52:54 -0400 (0:00:00.021) 0:00:00.021 ********** included: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml for managed-node2 TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 Saturday 10 May 2025 23:52:54 -0400 (0:00:00.015) 0:00:00.036 ********** <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.141> (0, b'/root\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502 `" && echo ansible-tmp-1746935574.6856887-8591-83540086456502="` echo /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502 `" ) && sleep 0'"'"'' <10.31.43.141> (0, b'ansible-tmp-1746935574.6856887-8591-83540086456502=/root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502\n', b'') Attempting python interpreter discovery <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/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.43.141> (0, b'PLATFORM\nLinux\nFOUND\n/usr/bin/python3.6\n/usr/libexec/platform-python\n/usr/bin/python3\nENDFOUND\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'/usr/bin/python3.6 && sleep 0'"'"'' <10.31.43.141> (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.43.141> PUT /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmpqv62uz2i TO /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/AnsiballZ_stat.py <10.31.43.141> 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/d9a23a561d '[10.31.43.141]' <10.31.43.141> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmpqv62uz2i /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/AnsiballZ_stat.py\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/ /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.141> (0, b'', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d -tt 10.31.43.141 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/AnsiballZ_stat.py && sleep 0'"'"'' <10.31.43.141> (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.43.141 closed.\r\n') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1746935574.6856887-8591-83540086456502/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.141> (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-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:11 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.566) 0:00:00.603 ********** 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-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:21 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.060) 0:00:00.663 ********** 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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.013) 0:00:00.677 ********** included: /tmp/collections-OsF/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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.021) 0:00:00.698 ********** <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.141> (0, b'/root\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468 `" && echo ansible-tmp-1746935575.3325477-8613-35460980743468="` echo /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468 `" ) && sleep 0'"'"'' <10.31.43.141> (0, b'ansible-tmp-1746935575.3325477-8613-35460980743468=/root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/system/setup.py <10.31.43.141> PUT /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmp20ertg4o TO /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/AnsiballZ_setup.py <10.31.43.141> 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/d9a23a561d '[10.31.43.141]' <10.31.43.141> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmp20ertg4o /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/AnsiballZ_setup.py\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/ /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.141> (0, b'', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d -tt 10.31.43.141 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/AnsiballZ_setup.py && sleep 0'"'"'' <10.31.43.141> (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.43.141 closed.\r\n') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1746935575.3325477-8613-35460980743468/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.141> (0, b'', b'') ok: [managed-node2] TASK [fedora.linux_system_roles.tlog : Check if system is ostree] ************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.652) 0:00:01.351 ********** 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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.014) 0:00:01.365 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.tlog : Run systemctl] ************************** task path: /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Saturday 10 May 2025 23:52:55 -0400 (0:00:00.013) 0:00:01.379 ********** <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' <10.31.43.141> (0, b'/root\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786 `" && echo ansible-tmp-1746935576.0096548-8626-46374727913786="` echo /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786 `" ) && sleep 0'"'"'' <10.31.43.141> (0, b'ansible-tmp-1746935576.0096548-8626-46374727913786=/root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786\n', b'') Using module file /usr/local/lib/python3.9/site-packages/ansible/modules/commands/command.py <10.31.43.141> PUT /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmp7q1yv9yc TO /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/AnsiballZ_command.py <10.31.43.141> 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/d9a23a561d '[10.31.43.141]' <10.31.43.141> (0, b'sftp> put /root/.ansible/tmp/ansible-local-8584ckuu2u8f/tmp7q1yv9yc /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/AnsiballZ_command.py\n', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'chmod u+x /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/ /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.141> (0, b'', b'') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d -tt 10.31.43.141 '/bin/sh -c '"'"'/usr/libexec/platform-python /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/AnsiballZ_command.py && sleep 0'"'"'' <10.31.43.141> (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.43.141 closed.\r\n') <10.31.43.141> ESTABLISH SSH CONNECTION FOR USER: None <10.31.43.141> 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/d9a23a561d 10.31.43.141 '/bin/sh -c '"'"'rm -f -r /root/.ansible/tmp/ansible-tmp-1746935576.0096548-8626-46374727913786/ > /dev/null 2>&1 && sleep 0'"'"'' <10.31.43.141> (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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Saturday 10 May 2025 23:52:56 -0400 (0:00:00.443) 0:00:01.822 ********** 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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:34 Saturday 10 May 2025 23:52:56 -0400 (0:00:00.015) 0:00:01.838 ********** 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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml': line 34, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Set flag to indicate that systemd runtime operations are available ^ here PLAY RECAP ********************************************************************* managed-node2 : ok=5 changed=0 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0 Saturday 10 May 2025 23:52:56 -0400 (0:00:00.014) 0:00:01.852 ********** =============================================================================== fedora.linux_system_roles.tlog : Ensure ansible_facts used by role ------ 0.65s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:2 Check if system is ostree ----------------------------------------------- 0.57s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tasks/setup.yml:6 fedora.linux_system_roles.tlog : Run systemctl -------------------------- 0.44s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:22 Set flag to indicate system is ostree ----------------------------------- 0.06s /tmp/collections-OsF/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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/main.yml:2 fedora.linux_system_roles.tlog : Require installed systemd -------------- 0.02s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:29 Test setup and check for ostree ----------------------------------------- 0.02s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default.yml:8 fedora.linux_system_roles.tlog : Set flag to indicate that systemd runtime operations are available --- 0.01s /tmp/collections-OsF/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-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:10 fedora.linux_system_roles.tlog : Set flag to indicate system is ostree --- 0.01s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/roles/tlog/tasks/set_vars.yml:15 Ensure sssd user/group exist in /etc files ------------------------------ 0.01s /tmp/collections-OsF/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-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31 Saturday 10 May 2025 23:52:56 -0400 (0:00:02.783) 0:00:04.984 ********** changed: [managed-node2 -> localhost] => { "changed": true, "path": "/tmp/ansible.yuyu_j95.yaml", "state": "absent" } PLAY RECAP ********************************************************************* managed-node2 : ok=4 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Saturday 10 May 2025 23:52:56 -0400 (0:00:00.357) 0:00:05.342 ********** =============================================================================== Run ansible-playbook with tests_default.yml in check mode --------------- 2.78s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:23 Gathering Facts --------------------------------------------------------- 0.91s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:2 Create static inventory from hostvars ----------------------------------- 0.83s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:16 Create temporary file --------------------------------------------------- 0.44s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:10 Remove the temporary file ----------------------------------------------- 0.36s /tmp/collections-OsF/ansible_collections/fedora/linux_system_roles/tests/tlog/tests_default_wrapper.yml:31