[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-1Tq executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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_previous_replaced.yml ****************************************** 1 plays in /tmp/collections-1Tq/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml PLAY [Test setting previous=replaced with postfix_conf] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-1Tq/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:2 Tuesday 03 September 2024 16:10:45 -0400 (0:00:00.008) 0:00:00.008 ***** fatal: [managed-node2]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: OpenSSH_9.3p1, OpenSSL 3.1.1 30 May 2023\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-node2 originally managed-node2\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-node2 originally managed-node2\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/5c6bbda21d\" does not exist\r\ndebug2: resolving \"managed-node2\" port 22\r\nssh: Could not resolve hostname managed-node2: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* managed-node2 : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 03 September 2024 16:10:49 -0400 (0:00:03.824) 0:00:03.833 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 3.82s /tmp/collections-1Tq/ansible_collections/fedora/linux_system_roles/tests/postfix/tests_previous_replaced.yml:2