[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.17.3] 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-InK executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/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-InK/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-InK/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_default.yml:6 Tuesday 03 September 2024 16:08:36 -0400 (0:00:00.026) 0:00:00.026 ***** included: fedora.linux_system_roles.postfix for managed-node1 TASK [fedora.linux_system_roles.postfix : Ensure ansible_facts required by role] *** task path: /tmp/collections-InK/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2 Tuesday 03 September 2024 16:08:36 -0400 (0:00:00.048) 0:00:00.075 ***** included: /tmp/collections-InK/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-InK/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Tuesday 03 September 2024 16:08:36 -0400 (0:00:00.014) 0:00:00.089 ***** fatal: [managed-node1]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: OpenSSH_8.7p1, OpenSSL 3.2.2 4 Jun 2024\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host managed-node1 originally managed-node1\r\ndebug2: match not found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: configuration requests final Match pass\r\ndebug1: re-parsing configuration\r\ndebug1: Reading configuration data /root/.ssh/config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Reading configuration data /etc/ssh/ssh_config.d/50-redhat.conf\r\ndebug2: checking match for 'final all' host managed-node1 originally managed-node1\r\ndebug2: match found\r\ndebug1: Reading configuration data /etc/crypto-policies/back-ends/openssh.config\r\ndebug1: auto-mux: Trying existing master\r\ndebug1: Control socket \"/root/.ansible/cp/8d4f8fa56d\" does not exist\r\ndebug2: resolving \"managed-node1\" port 22\r\nssh: Could not resolve hostname managed-node1: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* managed-node1 : ok=2 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 03 September 2024 16:08:36 -0400 (0:00:00.290) 0:00:00.380 ***** =============================================================================== fedora.linux_system_roles.postfix : Ensure ansible_facts used by role are present --- 0.29s /tmp/collections-InK/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/set_facts.yml:3 Run the postfix role ---------------------------------------------------- 0.05s /tmp/collections-InK/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-InK/ansible_collections/fedora/linux_system_roles/roles/postfix/tasks/main.yml:2