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/tmpgwxbfuum 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/tmpt_33lpa1/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:3 Thursday 07 July 2022 04:56:20 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:6 Thursday 07 July 2022 04:56:21 +0000 (0:00:01.109) 0:00:01.122 ********* ok: [/cache/centos-9.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/tmpt_33lpa1/tests/tests_no_package_update.yml:10 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.962) 0:00:02.084 ********* ok: [/cache/centos-9.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/tmpt_33lpa1/tests/tests_no_package_update.yml:15 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.085) 0:00:02.170 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.053) 0:00:02.224 ********* included: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.046) 0:00:02.270 ********* ok: [/cache/centos-9.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.537) 0:00:02.808 ********* skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 04:56:22 +0000 (0:00:00.061) 0:00:02.869 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 04:56:23 +0000 (0:00:00.974) 0:00:03.844 ********* included: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 04:56:23 +0000 (0:00:00.049) 0:00:03.894 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048225", "end": "2022-07-07 00:56:23.125697", "rc": 0, "start": "2022-07-07 00:56:23.077472" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 04:56:24 +0000 (0:00:00.562) 0:00:04.456 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 04:56:24 +0000 (0:00:00.044) 0:00:04.501 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1654523953.384, "ctime": 1654523869.662, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583057, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.663, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1654523869.664, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583059, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.664, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583060, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.548) 0:00:05.049 ********* ok: [/cache/centos-9.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/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.057) 0:00:05.106 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1654523869.666, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.666, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.667, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.668, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1654523869.668, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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 }, { "atime": 1650635908.0, "ctime": 1654523869.669, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.384) 0:00:05.491 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.093) 0:00:05.584 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.040) 0:00:05.624 ********* skipping: [/cache/centos-9.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/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.031) 0:00:05.656 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.031) 0:00:05.688 ********* included: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 04:56:25 +0000 (0:00:00.045) 0:00:05.734 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051334", "end": "2022-07-07 00:56:24.830963", "rc": 0, "start": "2022-07-07 00:56:24.779629" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 04:56:26 +0000 (0:00:00.431) 0:00:06.165 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:19 Thursday 07 July 2022 04:56:26 +0000 (0:00:00.057) 0:00:06.223 ********* ok: [/cache/centos-9.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/tmpt_33lpa1/tests/tests_no_package_update.yml:23 Thursday 07 July 2022 04:56:26 +0000 (0:00:00.689) 0:00:06.913 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 04:56:27 +0000 (0:00:00.064) 0:00:06.978 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:3 -------------------------- linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.97s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 0.96s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:6 -------------------------- Refresh package facts --------------------------------------------------- 0.69s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:19 ------------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.56s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.55s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.09s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Save current package facts ---------------------------------------------- 0.09s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:10 ------------------------- Verify packages were not changed ---------------------------------------- 0.06s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:23 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.06s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Include role ------------------------------------------------------------ 0.05s /tmp/tmpt_33lpa1/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 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/tmpgwxbfuum 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/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:3 Thursday 07 July 2022 04:58:17 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:6 Thursday 07 July 2022 04:58:18 +0000 (0:00:01.122) 0:00:01.136 ********* ok: [/cache/centos-9.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/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:10 Thursday 07 July 2022 04:58:19 +0000 (0:00:00.958) 0:00:02.095 ********* ok: [/cache/centos-9.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/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:15 Thursday 07 July 2022 04:58:19 +0000 (0:00:00.088) 0:00:02.183 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 04:58:19 +0000 (0:00:00.060) 0:00:02.243 ********* included: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 04:58:19 +0000 (0:00:00.049) 0:00:02.292 ********* ok: [/cache/centos-9.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 04:58:20 +0000 (0:00:00.538) 0:00:02.831 ********* skipping: [/cache/centos-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-9.qcow2.snap] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 04:58:20 +0000 (0:00:00.063) 0:00:02.895 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 04:58:21 +0000 (0:00:00.981) 0:00:03.876 ********* included: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 04:58:21 +0000 (0:00:00.049) 0:00:03.925 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050060", "end": "2022-07-07 00:58:21.241884", "rc": 0, "start": "2022-07-07 00:58:21.191824" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 04:58:21 +0000 (0:00:00.576) 0:00:04.502 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 04:58:21 +0000 (0:00:00.043) 0:00:04.545 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1654523953.384, "ctime": 1654523869.662, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583057, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.663, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583058, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1654523869.664, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583059, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.664, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583060, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:58:22 +0000 (0:00:00.551) 0:00:05.097 ********* ok: [/cache/centos-9.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/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 04:58:22 +0000 (0:00:00.055) 0:00:05.152 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1654523869.666, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.666, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.667, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1654523869.668, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1654523869.668, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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 }, { "atime": 1650635908.0, "ctime": 1654523869.669, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 04:58:22 +0000 (0:00:00.393) 0:00:05.546 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.088) 0:00:05.634 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.041) 0:00:05.676 ********* skipping: [/cache/centos-9.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/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.033) 0:00:05.710 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.035) 0:00:05.745 ********* included: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/centos-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.049) 0:00:05.795 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052079", "end": "2022-07-07 00:58:22.981901", "rc": 0, "start": "2022-07-07 00:58:22.929822" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.442) 0:00:06.237 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:19 Thursday 07 July 2022 04:58:23 +0000 (0:00:00.060) 0:00:06.298 ********* ok: [/cache/centos-9.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/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:23 Thursday 07 July 2022 04:58:24 +0000 (0:00:00.712) 0:00:07.010 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 04:58:24 +0000 (0:00:00.065) 0:00:07.076 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:3 ---------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.98s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 0.96s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:6 ---------- Refresh package facts --------------------------------------------------- 0.71s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:19 --------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.58s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.55s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.44s /tmp/tmpgwxbfuum/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/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.09s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:10 --------- fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.09s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:23 --------- fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpgwxbfuum/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/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Include role ------------------------------------------------------------ 0.06s /tmp/tmp17i904o_/tests/crypto_policies/tests_no_package_update.yml:15 --------- fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.05s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.05s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.04s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9