ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** META: ran handlers TASK [Run the postfix role] **************************************************** task path: /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Tuesday 03 September 2024 07:45:46 -0400 (0:00:00.024) 0:00:00.024 ***** TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Tuesday 03 September 2024 07:45:46 -0400 (0:00:00.099) 0:00:00.124 ***** included: /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Tuesday 03 September 2024 07:45:46 -0400 (0:00:00.019) 0:00:00.144 ***** fatal: [managed-node1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname managed-node1: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* managed-node1 : ok=1 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 03 September 2024 07:45:46 -0400 (0:00:00.054) 0:00:00.198 ***** =============================================================================== Run the postfix role ---------------------------------------------------- 0.10s /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.05s /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.02s /tmp/collections-cvJ/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2