ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppc8868jw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmprylna2eo/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmprylna2eo/tests/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 06:26:45 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmprylna2eo/tests/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 06:26:46 +0000 (0:00:01.188) 0:00:01.201 ******** changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmprylna2eo/tests/roles/caller/vars/RedHat-9.0.yml", "gid": 0, "group": "root", "item": "RedHat-9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657088806.9273567-84135-201150285062516/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmprylna2eo/tests/roles/caller/vars/RedHat-9.yml", "gid": 0, "group": "root", "item": "RedHat-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657088807.5211086-84135-54640057096108/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmprylna2eo/tests/roles/caller/vars/RedHat_9.0.yml", "gid": 0, "group": "root", "item": "RedHat_9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657088807.865735-84135-274408619966153/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmprylna2eo/tests/roles/caller/vars/RedHat_9.yml", "gid": 0, "group": "root", "item": "RedHat_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657088808.211434-84135-249938401382738/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmprylna2eo/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657088808.558348-84135-102366727778656/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmprylna2eo/tests/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 06:26:48 +0000 (0:00:02.013) 0:00:03.214 ******** TASK [linux-system-roles.certificate : Set version specific variables] ********* task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 Wednesday 06 July 2022 06:26:48 +0000 (0:00:00.039) 0:00:03.254 ******** included: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.certificate : Ensure ansible_facts used by role] ****** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:26:48 +0000 (0:00:00.028) 0:00:03.283 ******** ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:8 Wednesday 06 July 2022 06:26:49 +0000 (0:00:00.505) 0:00:03.789 ******** skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 Wednesday 06 July 2022 06:26:49 +0000 (0:00:00.041) 0:00:03.831 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:22 Wednesday 06 July 2022 06:26:50 +0000 (0:00:01.154) 0:00:04.985 ******** TASK [linux-system-roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:33 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.022) 0:00:05.007 ******** TASK [linux-system-roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:59 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.021) 0:00:05.029 ******** TASK [linux-system-roles.certificate : Ensure provider service is running] ***** task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:88 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.021) 0:00:05.050 ******** TASK [linux-system-roles.certificate : Ensure certificate requests] ************ task path: /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:100 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.019) 0:00:05.069 ******** META: role_complete for /cache/rhel-9.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmprylna2eo/tests/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.023) 0:00:05.093 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=6 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 06:26:50 +0000 (0:00:00.048) 0:00:05.141 ******** =============================================================================== create var file in caller that can override the one in called role ------ 2.01s /tmp/tmprylna2eo/tests/tests_include_vars_from_parent.yml:4 ------------------- Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmprylna2eo/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.certificate : Ensure certificate role dependencies are installed --- 1.15s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:5 -- linux-system-roles.certificate : Ensure ansible_facts used by role ------ 0.51s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:2 caller : assert --------------------------------------------------------- 0.05s /tmp/tmprylna2eo/tests/roles/caller/tasks/main.yml:7 -------------------------- linux-system-roles.certificate : Set platform/version specific variables --- 0.04s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/set_vars.yml:8 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmprylna2eo/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.certificate : Set version specific variables --------- 0.03s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:2 -- linux-system-roles.certificate : Ensure certificate requests ------------ 0.02s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:100 linux-system-roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:22 - linux-system-roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:33 - linux-system-roles.certificate : Ensure post-scripts hooks directory exists --- 0.02s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:59 - linux-system-roles.certificate : Ensure provider service is running ----- 0.02s /tmp/tmprylna2eo/tests/roles/linux-system-roles.certificate/tasks/main.yml:88 - ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppc8868jw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmppcorpegn/tests/certificate/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmppcorpegn/tests/certificate/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 06:38:19 +0000 (0:00:00.012) 0:00:00.012 ******** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmppcorpegn/tests/certificate/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 06:38:20 +0000 (0:00:01.179) 0:00:01.191 ******** changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmppcorpegn/tests/certificate/roles/caller/vars/RedHat-9.0.yml", "gid": 0, "group": "root", "item": "RedHat-9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657089500.4268909-90606-214074372614830/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmppcorpegn/tests/certificate/roles/caller/vars/RedHat-9.yml", "gid": 0, "group": "root", "item": "RedHat-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657089501.0046065-90606-260687042339874/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9.0) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmppcorpegn/tests/certificate/roles/caller/vars/RedHat_9.0.yml", "gid": 0, "group": "root", "item": "RedHat_9.0", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657089501.35018-90606-187518052364009/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmppcorpegn/tests/certificate/roles/caller/vars/RedHat_9.yml", "gid": 0, "group": "root", "item": "RedHat_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657089501.696026-90606-148778071700938/source", "state": "file", "uid": 0 } changed: [/cache/rhel-9.qcow2.snap -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmppcorpegn/tests/certificate/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657089502.0340118-90606-91818277282423/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmppcorpegn/tests/certificate/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 06:38:22 +0000 (0:00:01.996) 0:00:03.188 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Wednesday 06 July 2022 06:38:22 +0000 (0:00:00.044) 0:00:03.232 ******** included: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:38:22 +0000 (0:00:00.033) 0:00:03.266 ******** ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 Wednesday 06 July 2022 06:38:22 +0000 (0:00:00.512) 0:00:03.779 ******** skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Wednesday 06 July 2022 06:38:23 +0000 (0:00:00.040) 0:00:03.819 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 Wednesday 06 July 2022 06:38:24 +0000 (0:00:01.085) 0:00:04.905 ******** TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.021) 0:00:04.926 ******** TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.020) 0:00:04.946 ******** TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.019) 0:00:04.966 ******** TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.022) 0:00:04.988 ******** META: role_complete for /cache/rhel-9.qcow2.snap TASK [caller : assert] ********************************************************* task path: /tmp/tmppcorpegn/tests/certificate/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.026) 0:00:05.014 ******** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-9.qcow2.snap META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=6 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Wednesday 06 July 2022 06:38:24 +0000 (0:00:00.048) 0:00:05.063 ******** =============================================================================== create var file in caller that can override the one in called role ------ 2.00s /tmp/tmppcorpegn/tests/certificate/tests_include_vars_from_parent.yml:4 ------- Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmppcorpegn/tests/certificate/tests_include_vars_from_parent.yml:1 ------- fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.09s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.51s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 caller : assert --------------------------------------------------------- 0.05s /tmp/tmppcorpegn/tests/certificate/roles/caller/tasks/main.yml:7 -------------- include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmppcorpegn/tests/certificate/roles/caller/tasks/main.yml:4 -------------- fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.04s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:7 fedora.linux_system_roles.certificate : Set version specific variables --- 0.03s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.03s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:99 fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.02s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:88 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.02s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:22 fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.02s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:33 fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.02s /tmp/tmppc8868jw/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:59