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 statically imported: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_insights.yml statically imported: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml 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_insights_remediation.yml *************************************** 1 plays in /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_insights_remediation.yml PLAY [Test for insights remediation enabled & disabled] ************************ META: ran handlers TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Friday 20 September 2024 21:47:28 -0400 (0:00:00.030) 0:00:00.030 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Friday 20 September 2024 21:47:28 -0400 (0:00:00.049) 0:00:00.080 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Friday 20 September 2024 21:47:28 -0400 (0:00:00.034) 0:00:00.115 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Friday 20 September 2024 21:47:28 -0400 (0:00:00.033) 0:00:00.149 ****** ok: [managed_node1] => { "ansible_facts": { "lsr_rhc_test_data": { "baseurl": "http://localhost:8080", "candlepin_host": "candlepin.local", "candlepin_insecure": false, "candlepin_port": 8443, "candlepin_prefix": "/candlepin", "env_nonworking": "Ceci n'est pas une environment", "envs_register": [ "Environment 2" ], "insights": false, "proxy_auth_hostname": "localhost", "proxy_auth_password": "proxypass", "proxy_auth_port": 3130, "proxy_auth_scheme": "https", "proxy_auth_username": "proxyuser", "proxy_noauth_hostname": "localhost", "proxy_noauth_port": 3128, "proxy_noauth_scheme": "https", "proxy_nonworking_hostname": "wrongproxy", "proxy_nonworking_password": "wrong-proxypassword", "proxy_nonworking_port": 4000, "proxy_nonworking_username": "wrong-proxyuser", "reg_activation_keys": [ "default_key" ], "reg_invalid_password": "invalid-password", "reg_invalid_username": "invalid-user", "reg_organization": "donaldduck", "reg_password": "password", "reg_username": "doc", "release": null, "repositories": [ { "name": "donaldy-content-label-7051", "state": "enabled" }, { "name": "content-label-32060", "state": "disabled" } ] } }, "ansible_included_var_files": [ "/tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/../files/candlepin_data.yml" ], "changed": false } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Friday 20 September 2024 21:47:28 -0400 (0:00:00.041) 0:00:00.190 ****** ok: [managed_node1] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Friday 20 September 2024 21:47:28 -0400 (0:00:00.505) 0:00:00.696 ****** ok: [managed_node1] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } META: ending play PLAY RECAP ********************************************************************* managed_node1 : ok=4 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Friday 20 September 2024 21:47:28 -0400 (0:00:00.064) 0:00:00.761 ****** =============================================================================== Check if system is ostree ----------------------------------------------- 0.51s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Set flag to indicate system is ostree ----------------------------------- 0.07s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.05s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Set local lsr_rhc_test_data --------------------------------------------- 0.04s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Import test data -------------------------------------------------------- 0.03s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Get facts for external test data ---------------------------------------- 0.03s /tmp/collections-33U/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16