ansible-playbook [core 2.17.7] 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-6LQ executable location = /usr/local/bin/ansible-playbook python version = 3.12.8 (main, Dec 3 2024, 00:00:00) [GCC 14.2.1 20241104 (Red Hat 14.2.1-6)] (/usr/bin/python3.12) jinja version = 3.1.5 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles statically imported: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml statically imported: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml statically imported: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug 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_repositories.yml *********************************************** 1 plays in /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_repositories.yml PLAY [Basic repository enablement/disablement test] **************************** TASK [Get LSR_RHC_TEST_DATA environment variable] ****************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Saturday 25 January 2025 14:20:28 -0500 (0:00:00.017) 0:00:00.017 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_rhc_test_data_file": "" }, "changed": false } TASK [Import test data] ******************************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:12 Saturday 25 January 2025 14:20:28 -0500 (0:00:00.085) 0:00:00.102 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16 Saturday 25 January 2025 14:20:28 -0500 (0:00:00.049) 0:00:00.152 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "lsr_rhc_test_data_file | length > 0", "skip_reason": "Conditional result was False" } TASK [Set local lsr_rhc_test_data] ********************************************* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Saturday 25 January 2025 14:20:28 -0500 (0:00:00.053) 0:00:00.206 ****** ok: [managed-node2] => { "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-6LQ/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-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Saturday 25 January 2025 14:20:28 -0500 (0:00:00.064) 0:00:00.270 ****** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3.12" }, "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:37 Saturday 25 January 2025 14:20:29 -0500 (0:00:00.537) 0:00:00.807 ****** ok: [managed-node2] => { "ansible_facts": { "__rhc_is_ostree": false }, "changed": false } TASK [Get facts for external test data] **************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Saturday 25 January 2025 14:20:29 -0500 (0:00:00.024) 0:00:00.832 ****** ok: [managed-node2] TASK [Set helper fact for Candlepin base URL] ********************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:17 Saturday 25 January 2025 14:20:29 -0500 (0:00:00.715) 0:00:01.547 ****** ok: [managed-node2] => { "ansible_facts": { "_cp_url": "https://candlepin.local:8443/candlepin" }, "changed": false } TASK [Set helper fact for Candlepin owner URL] ********************************* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:21 Saturday 25 January 2025 14:20:29 -0500 (0:00:00.039) 0:00:01.587 ****** ok: [managed-node2] => { "ansible_facts": { "_cp_url_owner": "https://candlepin.local:8443/candlepin/owners/donaldduck" }, "changed": false } TASK [Add candlepin hostname to /etc/hosts] ************************************ task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Saturday 25 January 2025 14:20:29 -0500 (0:00:00.036) 0:00:01.623 ****** ok: [managed-node2] => { "backup": "", "changed": false } TASK [Install needed packages] ************************************************* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 Saturday 25 January 2025 14:20:30 -0500 (0:00:00.479) 0:00:02.103 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: podman TASK [Stop and remove Candlepin container] ************************************* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38 Saturday 25 January 2025 14:20:31 -0500 (0:00:01.418) 0:00:03.521 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "podman", "stop", "candlepin" ], "delta": "0:00:00.628792", "end": "2025-01-25 14:20:32.931420", "failed_when_result": false, "rc": 0, "start": "2025-01-25 14:20:32.302628" } STDOUT: candlepin TASK [Start Candlepin container] *********************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50 Saturday 25 January 2025 14:20:32 -0500 (0:00:01.093) 0:00:04.615 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "podman", "run", "--rm", "--detach", "--hostname", "candlepin.local", "--name", "candlepin", "--publish", "8443:8443", "--publish", "8080:8080", "ghcr.io/ptoscano/candlepin-unofficial" ], "delta": "0:00:00.184892", "end": "2025-01-25 14:20:33.509677", "rc": 0, "start": "2025-01-25 14:20:33.324785" } STDOUT: a05a6cb5f7076a2be66ab089208daf224943145f031c5e7c4e1610d95407011f TASK [Ensure directories exist] ************************************************ task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:71 Saturday 25 January 2025 14:20:33 -0500 (0:00:00.600) 0:00:05.216 ****** ok: [managed-node2] => (item=/etc/pki/product) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/pki/product", "mode": "0755", "owner": "root", "path": "/etc/pki/product", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 6, "state": "directory", "uid": 0 } ok: [managed-node2] => (item=/etc/pki/product-default) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/pki/product-default", "mode": "0755", "owner": "root", "path": "/etc/pki/product-default", "secontext": "unconfined_u:object_r:cert_t:s0", "size": 22, "state": "directory", "uid": 0 } ok: [managed-node2] => (item=/etc/rhsm/ca) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "/etc/rhsm/ca", "mode": "0755", "owner": "root", "path": "/etc/rhsm/ca", "secontext": "system_u:object_r:rhsmcertd_config_t:s0", "size": 92, "state": "directory", "uid": 0 } TASK [Copy product certificates] *********************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:81 Saturday 25 January 2025 14:20:35 -0500 (0:00:02.139) 0:00:07.355 ****** ok: [managed-node2] => (item=7050) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "podman", "cp", "candlepin:/home/candlepin/devel/candlepin/generated_certs/7050.pem", "/etc/pki/product-default/" ], "delta": "0:00:00.325395", "end": "2025-01-25 14:20:36.705017", "item": "7050", "rc": 0, "start": "2025-01-25 14:20:36.379622" } TASK [Copy Candlepin CA certificate for subscription-manager] ****************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:92 Saturday 25 January 2025 14:20:36 -0500 (0:00:01.098) 0:00:08.453 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "podman", "cp", "candlepin:/etc/candlepin/certs/candlepin-ca.crt", "/etc/rhsm/ca/candlepin-ca.pem" ], "delta": "0:00:00.370246", "end": "2025-01-25 14:20:37.844411", "rc": 0, "start": "2025-01-25 14:20:37.474165" } TASK [Copy Candlepin CA certificate for system] ******************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:101 Saturday 25 January 2025 14:20:37 -0500 (0:00:01.097) 0:00:09.551 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "podman", "cp", "candlepin:/etc/candlepin/certs/candlepin-ca.crt", "/etc/pki/ca-trust/source/anchors/candlepin-ca.pem" ], "delta": "0:00:00.339770", "end": "2025-01-25 14:20:38.877004", "rc": 0, "start": "2025-01-25 14:20:38.537234" } TASK [Update system certificates store] **************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:110 Saturday 25 January 2025 14:20:38 -0500 (0:00:01.067) 0:00:10.619 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "update-ca-trust", "extract" ], "delta": "0:00:02.946851", "end": "2025-01-25 14:20:42.563925", "rc": 0, "start": "2025-01-25 14:20:39.617074" } TASK [Wait for started Candlepin] ********************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:117 Saturday 25 January 2025 14:20:42 -0500 (0:00:03.665) 0:00:14.284 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "connection": "close", "content_type": "application/json", "cookies": {}, "cookies_string": "", "date": "Sat, 25 Jan 2025 19:20:59 GMT", "elapsed": 16, "redirected": true, "status": 200, "transfer_encoding": "chunked", "url": "https://candlepin.local:8443/candlepin/", "vary": "accept-encoding", "x_candlepin_request_uuid": "50d567af-e1cc-4d4f-b86f-0fe3b370cdc7", "x_version": "4.5.1-2" } MSG: OK (unknown bytes) TASK [Install GPG key for RPM repositories] ************************************ task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:127 Saturday 25 January 2025 14:21:00 -0500 (0:00:17.539) 0:00:31.824 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-candlepin", "elapsed": 0, "gid": 0, "group": "root", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1660, "state": "file", "status_code": 304, "uid": 0, "url": "http://candlepin.local:8080/RPM-GPG-KEY-candlepin" } MSG: HTTP Error 304: TASK [Add environments] ******************************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:136 Saturday 25 January 2025 14:21:00 -0500 (0:00:00.553) 0:00:32.377 ****** skipping: [managed-node2] => (item={'name': 'Environment 1', 'desc': 'The environment 1', 'id': 'envId1'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "environments | d(false)", "item": { "desc": "The environment 1", "id": "envId1", "name": "Environment 1" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={'name': 'Environment 2', 'desc': 'The environment 2', 'id': 'envId2'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "environments | d(false)", "item": { "desc": "The environment 2", "id": "envId2", "name": "Environment 2" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Check Candlepin works] *************************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml:3 Saturday 25 January 2025 14:21:00 -0500 (0:00:00.039) 0:00:32.416 ****** ok: [managed-node2] => { "changed": false, "connection": "close", "content_type": "application/json", "cookies": {}, "cookies_string": "", "date": "Sat, 25 Jan 2025 19:21:00 GMT", "elapsed": 0, "redirected": true, "status": 200, "transfer_encoding": "chunked", "url": "https://candlepin.local:8443/candlepin/", "vary": "accept-encoding", "x_candlepin_request_uuid": "5371f3eb-19f3-4b53-8607-79693eb089d2", "x_version": "4.5.1-2" } MSG: OK (unknown bytes) TASK [Register] **************************************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_repositories.yml:15 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.486) 0:00:32.902 ****** included: fedora.linux_system_roles.rhc for managed-node2 TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.020) 0:00:32.923 ****** included: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.016) 0:00:32.939 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__rhc_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.033) 0:00:32.972 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __rhc_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.016) 0:00:32.989 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __rhc_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.017) 0:00:33.006 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == \"RedHat\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.012) 0:00:33.019 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == \"RedHat\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.012) 0:00:33.031 ****** included: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node2 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Saturday 25 January 2025 14:21:01 -0500 (0:00:00.029) 0:00:33.061 ****** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: subscription-manager TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Saturday 25 January 2025 14:21:02 -0500 (0:00:01.289) 0:00:34.351 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not rhc_release is none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Saturday 25 January 2025 14:21:02 -0500 (0:00:00.036) 0:00:34.387 ****** fatal: [managed-node2]: FAILED! => { "changed": false } MSG: Failed to register with 'candlepin.local': com.redhat.RHSM1.Error: {"exception": "DBusException", "severity": "error", "message": "This system is already registered."} TASK [Unregister] ************************************************************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tests_repositories.yml:99 Saturday 25 January 2025 14:21:04 -0500 (0:00:01.595) 0:00:35.982 ****** included: fedora.linux_system_roles.rhc for managed-node2 TASK [fedora.linux_system_roles.rhc : Set ansible_facts required by role] ****** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:3 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.020) 0:00:36.003 ****** included: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.rhc : Ensure ansible_facts used by role] ******* task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:3 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.016) 0:00:36.020 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "__rhc_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if system is ostree] *************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:11 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.032) 0:00:36.052 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __rhc_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Set flag to indicate system is ostree] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:16 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.017) 0:00:36.070 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "not __rhc_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Check if insights-packages are installed] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/set_vars.yml:20 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.017) 0:00:36.088 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == \"RedHat\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle insights unregistration] ********** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:6 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.013) 0:00:36.101 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == \"RedHat\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Handle system subscription] ************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:15 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.012) 0:00:36.114 ****** included: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml for managed-node2 TASK [fedora.linux_system_roles.rhc : Ensure required packages are installed] *** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.020) 0:00:36.134 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "rhc_state | d('present') == \"present\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Get subscription status] ***************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:10 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.031) 0:00:36.166 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "rhc_state | d(\"present\") == \"present\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Call subscription-manager] *************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Saturday 25 January 2025 14:21:04 -0500 (0:00:00.031) 0:00:36.197 ****** ok: [managed-node2] => { "changed": false } MSG: System already unregistered. TASK [fedora.linux_system_roles.rhc : Set or unset the release] **************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:49 Saturday 25 January 2025 14:21:05 -0500 (0:00:00.797) 0:00:36.995 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "rhc_state | d(\"present\") in [\"present\", \"reconnect\"]", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.rhc : Configure repositories] ****************** task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:58 Saturday 25 January 2025 14:21:05 -0500 (0:00:00.031) 0:00:37.026 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.rhc : Handle insights registration] ************ task path: /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/main.yml:18 Saturday 25 January 2025 14:21:05 -0500 (0:00:00.011) 0:00:37.038 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution == \"RedHat\"", "skip_reason": "Conditional result was False" } PLAY RECAP ********************************************************************* managed-node2 : ok=27 changed=0 unreachable=0 failed=1 skipped=19 rescued=0 ignored=0 TASKS RECAP ******************************************************************** Saturday 25 January 2025 14:21:05 -0500 (0:00:00.012) 0:00:37.051 ****** =============================================================================== Wait for started Candlepin --------------------------------------------- 17.54s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:117 Update system certificates store ---------------------------------------- 3.67s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:110 Ensure directories exist ------------------------------------------------ 2.14s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:71 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 1.60s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Install needed packages ------------------------------------------------- 1.42s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:31 fedora.linux_system_roles.rhc : Ensure required packages are installed --- 1.29s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:3 Copy product certificates ----------------------------------------------- 1.10s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:81 Copy Candlepin CA certificate for subscription-manager ------------------ 1.10s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:92 Stop and remove Candlepin container ------------------------------------- 1.09s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:38 Copy Candlepin CA certificate for system -------------------------------- 1.07s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:101 fedora.linux_system_roles.rhc : Call subscription-manager --------------- 0.80s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/roles/rhc/tasks/subscription-manager.yml:23 Get facts for external test data ---------------------------------------- 0.72s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:9 Start Candlepin container ----------------------------------------------- 0.60s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:50 Install GPG key for RPM repositories ------------------------------------ 0.55s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:127 Check if system is ostree ----------------------------------------------- 0.54s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:32 Check Candlepin works --------------------------------------------------- 0.49s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/check_candlepin.yml:3 Add candlepin hostname to /etc/hosts ------------------------------------ 0.48s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_candlepin.yml:25 Get LSR_RHC_TEST_DATA environment variable ------------------------------ 0.09s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:3 Set local lsr_rhc_test_data --------------------------------------------- 0.06s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:24 Get facts for external test data ---------------------------------------- 0.05s /tmp/collections-6LQ/ansible_collections/fedora/linux_system_roles/tests/rhc/tasks/setup_test_data.yml:16