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/tmppg6red9s 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_no_package_update.yml ****************************************** 1 plays in /tmp/tmpr22npb4n/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:3 Thursday 07 July 2022 05:02:17 +0000 (0:00:00.015) 0:00:00.015 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:6 Thursday 07 July 2022 05:02:18 +0000 (0:00:01.144) 0:00:01.160 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/tests_no_package_update.yml:10 Thursday 07 July 2022 05:02:19 +0000 (0:00:01.447) 0:00:02.608 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/tests_no_package_update.yml:15 Thursday 07 July 2022 05:02:20 +0000 (0:00:00.102) 0:00:02.711 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:02:20 +0000 (0:00:00.059) 0:00:02.771 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:02:20 +0000 (0:00:00.058) 0:00:02.829 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:02:20 +0000 (0:00:00.541) 0:00:03.371 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:02:20 +0000 (0:00:00.066) 0:00:03.437 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:02:22 +0000 (0:00:01.543) 0:00:04.981 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:02:22 +0000 (0:00:00.065) 0:00:05.047 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054074", "end": "2022-07-07 01:02:23.161700", "rc": 0, "start": "2022-07-07 01:02:23.107626" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:02:23 +0000 (0:00:00.586) 0:00:05.633 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:02:23 +0000 (0:00:00.113) 0:00:05.746 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657080351.2368531, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:02:23 +0000 (0:00:00.480) 0:00:06.227 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:02:23 +0000 (0:00:00.053) 0:00:06.280 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.384) 0:00:06.664 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.056) 0:00:06.721 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.044) 0:00:06.765 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.036) 0:00:06.801 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.041) 0:00:06.843 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.053) 0:00:06.896 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051951", "end": "2022-07-07 01:02:24.864352", "rc": 0, "start": "2022-07-07 01:02:24.812401" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.438) 0:00:07.335 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:19 Thursday 07 July 2022 05:02:24 +0000 (0:00:00.065) 0:00:07.401 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmpr22npb4n/tests/tests_no_package_update.yml:23 Thursday 07 July 2022 05:02:25 +0000 (0:00:01.186) 0:00:08.587 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:02:26 +0000 (0:00:00.079) 0:00:08.667 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.54s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.45s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:6 -------------------------- Refresh package facts --------------------------------------------------- 1.19s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:19 ------------------------- Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:3 -------------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.59s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.48s /tmp/tmpr22npb4n/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.44s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.11s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Save current package facts ---------------------------------------------- 0.10s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:10 ------------------------- Verify packages were not changed ---------------------------------------- 0.08s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:23 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.07s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.07s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Include role ------------------------------------------------------------ 0.06s /tmp/tmpr22npb4n/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.06s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 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/tmppg6red9s 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_no_package_update.yml ****************************************** 1 plays in /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:3 Thursday 07 July 2022 05:04:21 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:6 Thursday 07 July 2022 05:04:22 +0000 (0:00:01.151) 0:00:01.163 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:10 Thursday 07 July 2022 05:04:23 +0000 (0:00:01.373) 0:00:02.537 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:15 Thursday 07 July 2022 05:04:23 +0000 (0:00:00.094) 0:00:02.631 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:04:24 +0000 (0:00:00.061) 0:00:02.692 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:04:24 +0000 (0:00:00.052) 0:00:02.745 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:04:24 +0000 (0:00:00.533) 0:00:03.278 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:04:24 +0000 (0:00:00.066) 0:00:03.345 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:04:26 +0000 (0:00:01.520) 0:00:04.866 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:04:26 +0000 (0:00:00.062) 0:00:04.928 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054849", "end": "2022-07-07 01:04:25.914199", "rc": 0, "start": "2022-07-07 01:04:25.859350" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:04:26 +0000 (0:00:00.592) 0:00:05.521 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:04:26 +0000 (0:00:00.042) 0:00:05.563 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657080351.2368531, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:04:27 +0000 (0:00:00.524) 0:00:06.088 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:04:27 +0000 (0:00:00.139) 0:00:06.227 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "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": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:04:27 +0000 (0:00:00.382) 0:00:06.609 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.058) 0:00:06.668 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.046) 0:00:06.714 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.036) 0:00:06.751 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.037) 0:00:06.789 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.055) 0:00:06.845 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056303", "end": "2022-07-07 01:04:27.677543", "rc": 0, "start": "2022-07-07 01:04:27.621240" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.441) 0:00:07.287 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:19 Thursday 07 July 2022 05:04:28 +0000 (0:00:00.064) 0:00:07.351 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "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/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:23 Thursday 07 July 2022 05:04:29 +0000 (0:00:01.175) 0:00:08.526 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:04:29 +0000 (0:00:00.072) 0:00:08.599 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.52s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.37s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:6 ---------- Refresh package facts --------------------------------------------------- 1.18s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:19 --------- Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:3 ---------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.59s /tmp/tmppg6red9s/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.53s /tmp/tmppg6red9s/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/tmppg6red9s/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.44s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.38s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.14s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Save current package facts ---------------------------------------------- 0.09s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:10 --------- Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:23 --------- fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmppg6red9s/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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.06s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Include role ------------------------------------------------------------ 0.06s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_no_package_update.yml:15 --------- fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.06s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.06s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.05s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43