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/tmpyhwa01m8 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 05:18:31 +0000 (0:00:00.018) 0:00:00.018 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 05:18:32 +0000 (0:00:01.290) 0:00:01.308 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmpc101z20d/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:3 Thursday 07 July 2022 05:18:32 +0000 (0:00:00.011) 0:00:01.320 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:6 Thursday 07 July 2022 05:18:33 +0000 (0:00:01.073) 0:00:02.394 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Save current package facts] ********************************************** task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:10 Thursday 07 July 2022 05:18:34 +0000 (0:00:01.326) 0:00:03.720 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Include role] ************************************************************ task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:15 Thursday 07 July 2022 05:18:34 +0000 (0:00:00.163) 0:00:03.884 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:18:34 +0000 (0:00:00.059) 0:00:03.943 ********* included: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:18:35 +0000 (0:00:00.048) 0:00:03.992 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:18:35 +0000 (0:00:00.524) 0:00:04.516 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:18:35 +0000 (0:00:00.065) 0:00:04.581 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:18:37 +0000 (0:00:01.427) 0:00:06.009 ********* included: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:18:37 +0000 (0:00:00.101) 0:00:06.110 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051689", "end": "2022-07-07 01:18:38.102034", "rc": 0, "start": "2022-07-07 01:18:38.050345" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:18:37 +0000 (0:00:00.561) 0:00:06.672 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:18:37 +0000 (0:00:00.043) 0:00:06.715 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1650475837.5482888, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1581, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1583, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1584, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.472) 0:00:07.187 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.055) 0:00:07.243 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390160, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390161, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.375) 0:00:07.618 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.050) 0:00:07.669 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.040) 0:00:07.710 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.032) 0:00:07.742 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.033) 0:00:07.776 ********* included: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:18:38 +0000 (0:00:00.051) 0:00:07.827 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050264", "end": "2022-07-07 01:18:39.693150", "rc": 0, "start": "2022-07-07 01:18:39.642886" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:18:39 +0000 (0:00:00.431) 0:00:08.259 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8.qcow2 TASK [Refresh package facts] *************************************************** task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:19 Thursday 07 July 2022 05:18:39 +0000 (0:00:00.061) 0:00:08.321 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify packages were not changed] **************************************** task path: /tmp/tmpc101z20d/tests/tests_no_package_update.yml:23 Thursday 07 July 2022 05:18:40 +0000 (0:00:01.100) 0:00:09.421 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=20 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:18:40 +0000 (0:00:00.078) 0:00:09.500 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.43s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.33s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:6 -------------------------- set up internal repositories -------------------------------------------- 1.29s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Refresh package facts --------------------------------------------------- 1.10s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:19 ------------------------- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:3 -------------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.56s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.47s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.16s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:10 ------------------------- linux-system-roles.crypto_policies : include_tasks ---------------------- 0.10s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Verify packages were not changed ---------------------------------------- 0.08s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:23 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.06s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Include role ------------------------------------------------------------ 0.06s /tmp/tmpc101z20d/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.05s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpc101z20d/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 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/tmpyhwa01m8 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 07 July 2022 05:20:37 +0000 (0:00:00.018) 0:00:00.018 ********* ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 07 July 2022 05:20:38 +0000 (0:00:01.315) 0:00:01.334 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:3 Thursday 07 July 2022 05:20:38 +0000 (0:00:00.010) 0:00:01.345 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:6 Thursday 07 July 2022 05:20:39 +0000 (0:00:01.069) 0:00:02.415 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Save current package facts] ********************************************** task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:10 Thursday 07 July 2022 05:20:41 +0000 (0:00:01.403) 0:00:03.818 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Include role] ************************************************************ task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:15 Thursday 07 July 2022 05:20:41 +0000 (0:00:00.142) 0:00:03.961 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:20:41 +0000 (0:00:00.062) 0:00:04.023 ********* included: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:20:41 +0000 (0:00:00.051) 0:00:04.075 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:20:41 +0000 (0:00:00.536) 0:00:04.611 ********* skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8.qcow2] => (item=RedHat_8.6.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.6.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:20:41 +0000 (0:00:00.065) 0:00:04.677 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:20:43 +0000 (0:00:01.504) 0:00:06.181 ********* included: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:20:43 +0000 (0:00:00.104) 0:00:06.285 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051240", "end": "2022-07-07 01:20:42.594450", "rc": 0, "start": "2022-07-07 01:20:42.543210" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:20:44 +0000 (0:00:00.537) 0:00:06.823 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:20:44 +0000 (0:00:00.042) 0:00:06.865 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1650475837.5482888, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1581, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1582, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1583, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1584, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 1585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:20:44 +0000 (0:00:00.519) 0:00:07.385 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:20:44 +0000 (0:00:00.060) 0:00:07.446 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390159, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390160, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1650475887.332664, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8390161, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.391) 0:00:07.837 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.058) 0:00:07.895 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.046) 0:00:07.942 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.036) 0:00:07.978 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.036) 0:00:08.015 ********* included: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.050) 0:00:08.065 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050918", "end": "2022-07-07 01:20:44.307750", "rc": 0, "start": "2022-07-07 01:20:44.256832" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.470) 0:00:08.536 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8.qcow2 TASK [Refresh package facts] *************************************************** task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:19 Thursday 07 July 2022 05:20:45 +0000 (0:00:00.063) 0:00:08.600 ********* ok: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify packages were not changed] **************************************** task path: /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:23 Thursday 07 July 2022 05:20:46 +0000 (0:00:01.124) 0:00:09.724 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=20 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:20:47 +0000 (0:00:00.072) 0:00:09.796 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.50s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.40s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:6 ---------- set up internal repositories -------------------------------------------- 1.32s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Refresh package facts --------------------------------------------------- 1.12s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:19 --------- Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:3 ---------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.54s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.52s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.47s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.39s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.14s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:10 --------- fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.10s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:23 --------- fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.06s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Include role ------------------------------------------------------------ 0.06s /tmp/tmpiebhq9lr/tests/crypto_policies/tests_no_package_update.yml:15 --------- fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.06s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.05s /tmp/tmpyhwa01m8/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69