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_sssd_settings.yml ********************************************** 1 plays in /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml [WARNING]: Could not match supplied host pattern, ignoring: ad PLAY [Ensure that the role configures dynamic dns] ***************************** META: ran handlers TASK [Test - Run the system role with bogus vars] ****************************** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 Friday 20 September 2024 20:12:44 -0400 (0:00:00.125) 0:00:00.125 ****** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Friday 20 September 2024 20:12:44 -0400 (0:00:00.048) 0:00:00.173 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Friday 20 September 2024 20:12:44 -0400 (0:00:00.037) 0:00:00.211 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Friday 20 September 2024 20:12:44 -0400 (0:00:00.033) 0:00:00.244 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Friday 20 September 2024 20:12:44 -0400 (0:00:00.033) 0:00:00.277 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Friday 20 September 2024 20:12:44 -0400 (0:00:00.033) 0:00:00.310 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Friday 20 September 2024 20:12:44 -0400 (0:00:00.033) 0:00:00.344 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Friday 20 September 2024 20:12:44 -0400 (0:00:00.032) 0:00:00.377 ****** included: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Friday 20 September 2024 20:12:44 -0400 (0:00:00.080) 0:00:00.458 ****** ok: [managed_node1] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Friday 20 September 2024 20:12:45 -0400 (0:00:01.170) 0:00:01.629 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Friday 20 September 2024 20:12:46 -0400 (0:00:00.644) 0:00:02.273 ****** ok: [managed_node1] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Friday 20 September 2024 20:12:46 -0400 (0:00:00.062) 0:00:02.336 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Friday 20 September 2024 20:12:46 -0400 (0:00:00.091) 0:00:02.428 ****** fatal: [managed_node1]: FAILED! => {} MSG: Failed to connect to the host via ssh: ssh: connect to host 10.31.41.243 port 22: Connection refused PLAY RECAP ********************************************************************* managed_node1 : ok=4 changed=0 unreachable=0 failed=1 skipped=7 rescued=0 ignored=0 Friday 20 September 2024 20:12:50 -0400 (0:00:03.824) 0:00:06.253 ****** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 3.82s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role --- 1.17s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.64s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.09s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.08s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree --- 0.06s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Test - Run the system role with bogus vars ------------------------------ 0.05s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available --- 0.04s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set --- 0.03s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4 --- 0.03s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync --- 0.03s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set --- 0.03s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided --- 0.03s /tmp/collections-GfM/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40