[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-tPF executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml PLAY [Ensure that the rule runs with default parameters] *********************** TASK [Run the postfix role] **************************************************** task path: /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Wednesday 04 September 2024 11:05:24 -0400 (0:00:00.025) 0:00:00.025 *** TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Wednesday 04 September 2024 11:05:24 -0400 (0:00:00.047) 0:00:00.072 *** included: /tmp/collections-tPF/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-tPF/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Wednesday 04 September 2024 11:05:24 -0400 (0:00:00.014) 0:00:00.086 *** 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 Wednesday 04 September 2024 11:05:24 -0400 (0:00:00.295) 0:00:00.382 *** =============================================================================== fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.30s /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Run the postfix role ---------------------------------------------------- 0.05s /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 fedora.linux_system_roles.postfix : Ensure ansible_facts required by role --- 0.01s /tmp/collections-tPF/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2