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_update.yml ***************************************************** 1 plays in /tmp/tmpt_33lpa1/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:3 Thursday 07 July 2022 04:57:29 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:8 Thursday 07 July 2022 04:57:30 +0000 (0:00:01.128) 0:00:01.142 ********* 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:57:30 +0000 (0:00:00.041) 0:00:01.183 ********* 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:57:30 +0000 (0:00:00.048) 0:00:01.232 ********* 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:57:30 +0000 (0:00:00.507) 0:00:01.739 ********* 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:57:30 +0000 (0:00:00.042) 0:00:01.782 ********* 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:57:31 +0000 (0:00:01.029) 0:00:02.811 ********* 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:57:32 +0000 (0:00:00.028) 0:00:02.840 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048950", "end": "2022-07-07 00:57:31.907783", "rc": 0, "start": "2022-07-07 00:57:31.858833" } 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:57:32 +0000 (0:00:00.569) 0:00:03.409 ********* 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:57:32 +0000 (0:00:00.031) 0:00:03.440 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169812.786575, "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": 1657169791.050319, "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": 1657169838.8229203, "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:57:33 +0000 (0:00:00.482) 0:00:03.922 ********* 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:57:33 +0000 (0:00:00.056) 0:00:03.979 ********* 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:57:33 +0000 (0:00:00.372) 0:00:04.351 ********* 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:57:33 +0000 (0:00:00.044) 0:00:04.396 ********* 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:57:33 +0000 (0:00:00.029) 0:00:04.425 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.093114", "end": "2022-07-07 00:57:33.382190", "rc": 0, "start": "2022-07-07 00:57:33.289076" } STDOUT: Setting system policy to LEGACY Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:57:34 +0000 (0:00:00.459) 0:00:04.884 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:57:34 +0000 (0:00:00.037) 0:00:04.922 ********* 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:57:34 +0000 (0:00:00.029) 0:00:04.951 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048442", "end": "2022-07-07 00:57:33.870176", "rc": 0, "start": "2022-07-07 00:57:33.821734" } STDOUT: LEGACY 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:57:34 +0000 (0:00:00.429) 0:00:05.380 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify that base policy was updated] ************************************* task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:14 Thursday 07 July 2022 04:57:34 +0000 (0:00:00.044) 0:00:05.425 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:20 Thursday 07 July 2022 04:57:34 +0000 (0:00:00.046) 0:00:05.472 ********* 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:57:34 +0000 (0:00:00.042) 0:00:05.515 ********* 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:57:34 +0000 (0:00:00.028) 0:00:05.544 ********* 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:57:35 +0000 (0:00:00.519) 0:00:06.063 ********* 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:57:35 +0000 (0:00:00.040) 0:00:06.103 ********* 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:57:36 +0000 (0:00:00.803) 0:00:06.907 ********* 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:57:36 +0000 (0:00:00.030) 0:00:06.937 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045921", "end": "2022-07-07 00:57:35.856618", "rc": 0, "start": "2022-07-07 00:57:35.810697" } STDOUT: LEGACY 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:57:36 +0000 (0:00:00.421) 0:00:07.359 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "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:57:36 +0000 (0:00:00.066) 0:00:07.425 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169812.786575, "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": 1657169791.050319, "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": 1657169838.8229203, "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:57:36 +0000 (0:00:00.358) 0:00:07.783 ********* 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:57:37 +0000 (0:00:00.044) 0:00:07.828 ********* 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:57:37 +0000 (0:00:00.370) 0:00:08.199 ********* 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:57:37 +0000 (0:00:00.072) 0:00:08.271 ********* 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:57:37 +0000 (0:00:00.062) 0:00:08.334 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.106008", "end": "2022-07-07 00:57:37.310708", "rc": 0, "start": "2022-07-07 00:57:37.204700" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:57:37 +0000 (0:00:00.478) 0:00:08.813 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:57:38 +0000 (0:00:00.065) 0:00:08.878 ********* 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:57:38 +0000 (0:00:00.030) 0:00:08.909 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049169", "end": "2022-07-07 00:57:37.883820", "rc": 0, "start": "2022-07-07 00:57:37.834651" } STDOUT: DEFAULT:NO-SHA1 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:57:38 +0000 (0:00:00.477) 0:00:09.387 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:26 Thursday 07 July 2022 04:57:38 +0000 (0:00:00.040) 0:00:09.427 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:34 Thursday 07 July 2022 04:57:38 +0000 (0:00:00.045) 0:00:09.473 ********* 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:57:38 +0000 (0:00:00.035) 0:00:09.508 ********* 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:57:38 +0000 (0:00:00.029) 0:00:09.538 ********* 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:57:39 +0000 (0:00:00.524) 0:00:10.063 ********* 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:57:39 +0000 (0:00:00.041) 0:00:10.104 ********* 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:57:40 +0000 (0:00:00.797) 0:00:10.902 ********* 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:57:40 +0000 (0:00:00.028) 0:00:10.931 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050591", "end": "2022-07-07 00:57:39.858958", "rc": 0, "start": "2022-07-07 00:57:39.808367" } STDOUT: DEFAULT:NO-SHA1 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:57:40 +0000 (0:00:00.431) 0:00:11.362 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:57:40 +0000 (0:00:00.031) 0:00:11.394 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169812.786575, "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": 1657169791.050319, "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": 1657169838.8229203, "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:57:40 +0000 (0:00:00.371) 0:00:11.765 ********* 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:57:40 +0000 (0:00:00.046) 0:00:11.811 ********* 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": 1657169857.2579203, "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:57:41 +0000 (0:00:00.378) 0:00:12.190 ********* 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:57:41 +0000 (0:00:00.042) 0:00:12.232 ********* 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:57:41 +0000 (0:00:00.029) 0:00:12.261 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.047529", "end": "2022-07-07 00:57:41.178579", "rc": 1, "start": "2022-07-07 00:57:41.131050" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:44 Thursday 07 July 2022 04:57:41 +0000 (0:00:00.419) 0:00:12.681 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:53 Thursday 07 July 2022 04:57:41 +0000 (0:00:00.031) 0:00:12.712 ********* 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:57:41 +0000 (0:00:00.032) 0:00:12.744 ********* 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:57:41 +0000 (0:00:00.029) 0:00:12.774 ********* 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:57:42 +0000 (0:00:00.559) 0:00:13.333 ********* 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:57:42 +0000 (0:00:00.041) 0:00:13.375 ********* 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:57:43 +0000 (0:00:00.835) 0:00:14.210 ********* 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:57:43 +0000 (0:00:00.028) 0:00:14.239 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047202", "end": "2022-07-07 00:57:43.152153", "rc": 0, "start": "2022-07-07 00:57:43.104951" } STDOUT: DEFAULT:NO-SHA1 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:57:43 +0000 (0:00:00.417) 0:00:14.656 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:57:43 +0000 (0:00:00.032) 0:00:14.688 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169812.786575, "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": 1657169791.050319, "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": 1657169838.8229203, "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:57:44 +0000 (0:00:00.374) 0:00:15.062 ********* 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:57:44 +0000 (0:00:00.072) 0:00:15.135 ********* 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": 1657169857.2579203, "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:57:44 +0000 (0:00:00.373) 0:00:15.509 ********* 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:57:44 +0000 (0:00:00.047) 0:00:15.556 ********* 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:57:44 +0000 (0:00:00.030) 0:00:15.587 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.061229", "end": "2022-07-07 00:57:44.562230", "rc": 1, "start": "2022-07-07 00:57:44.501001" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:63 Thursday 07 July 2022 04:57:45 +0000 (0:00:00.479) 0:00:16.066 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:71 Thursday 07 July 2022 04:57:45 +0000 (0:00:00.033) 0:00:16.099 ********* 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:57:45 +0000 (0:00:00.044) 0:00:16.144 ********* 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:57:45 +0000 (0:00:00.027) 0:00:16.172 ********* 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:57:45 +0000 (0:00:00.570) 0:00:16.742 ********* 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:57:45 +0000 (0:00:00.041) 0:00:16.784 ********* 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:57:46 +0000 (0:00:00.841) 0:00:17.625 ********* 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:57:46 +0000 (0:00:00.030) 0:00:17.655 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046629", "end": "2022-07-07 00:57:46.572980", "rc": 0, "start": "2022-07-07 00:57:46.526351" } STDOUT: DEFAULT:NO-SHA1 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:57:47 +0000 (0:00:00.418) 0:00:18.074 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:57:47 +0000 (0:00:00.032) 0:00:18.107 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169812.786575, "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": 1657169791.050319, "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": 1657169838.8229203, "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:57:47 +0000 (0:00:00.383) 0:00:18.490 ********* 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:57:47 +0000 (0:00:00.044) 0:00:18.534 ********* 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": 1657169857.2579203, "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:57:48 +0000 (0:00:00.355) 0:00:18.890 ********* 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:57:48 +0000 (0:00:00.043) 0:00:18.934 ********* 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:57:48 +0000 (0:00:00.030) 0:00:18.965 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.137610", "end": "2022-07-07 00:57:47.982665", "rc": 0, "start": "2022-07-07 00:57:47.845055" } STDOUT: Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:57:48 +0000 (0:00:00.522) 0:00:19.488 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:57:48 +0000 (0:00:00.036) 0:00:19.524 ********* 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:57:48 +0000 (0:00:00.030) 0:00:19.554 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046253", "end": "2022-07-07 00:57:48.467131", "rc": 0, "start": "2022-07-07 00:57:48.420878" } 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:57:49 +0000 (0:00:00.415) 0:00:19.970 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:82 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.040) 0:00:20.011 ********* RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.000) 0:00:20.011 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.033) 0:00:20.044 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.033) 0:00:20.078 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.031) 0:00:20.109 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.031) 0:00:20.141 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.031) 0:00:20.173 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.035) 0:00:20.208 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.035) 0:00:20.243 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.034) 0:00:20.278 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.037) 0:00:20.316 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /tmp/tmpt_33lpa1/tests/tests_update.yml:83 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.041) 0:00:20.358 ********* 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=76 changed=3 unreachable=0 failed=0 skipped=15 rescued=2 ignored=0 Thursday 07 July 2022 04:57:49 +0000 (0:00:00.051) 0:00:20.409 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpt_33lpa1/tests/tests_update.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.03s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.84s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.84s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.80s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.80s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.57s /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.57s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.56s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.52s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.51s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.48s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.48s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.48s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.48s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.46s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 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 out what is the currently active policy --- 0.43s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.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/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_update.yml ***************************************************** 1 plays in /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:3 Thursday 07 July 2022 04:59:26 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:8 Thursday 07 July 2022 04:59:27 +0000 (0:00:01.118) 0:00:01.132 ********* 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:59:27 +0000 (0:00:00.042) 0:00:01.174 ********* 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:59:28 +0000 (0:00:00.053) 0:00:01.228 ********* 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:59:28 +0000 (0:00:00.522) 0:00:01.751 ********* 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:59:28 +0000 (0:00:00.044) 0:00:01.796 ********* 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:59:29 +0000 (0:00:00.968) 0:00:02.764 ********* 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:59:29 +0000 (0:00:00.031) 0:00:02.796 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046248", "end": "2022-07-07 00:59:29.875934", "rc": 0, "start": "2022-07-07 00:59:29.829686" } 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:59:30 +0000 (0:00:00.550) 0:00:03.347 ********* 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:59:30 +0000 (0:00:00.033) 0:00:03.380 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169930.8323207, "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": 1657169909.2246723, "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": 1657169956.6535735, "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:59:30 +0000 (0:00:00.505) 0:00:03.885 ********* 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:59:30 +0000 (0:00:00.042) 0:00:03.928 ********* 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:59:31 +0000 (0:00:00.371) 0:00:04.300 ********* 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:59:31 +0000 (0:00:00.046) 0:00:04.346 ********* 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:59:31 +0000 (0:00:00.033) 0:00:04.379 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.094438", "end": "2022-07-07 00:59:31.379695", "rc": 0, "start": "2022-07-07 00:59:31.285257" } STDOUT: Setting system policy to LEGACY Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:59:31 +0000 (0:00:00.473) 0:00:04.853 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:59:31 +0000 (0:00:00.036) 0:00:04.889 ********* 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:59:31 +0000 (0:00:00.032) 0:00:04.922 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048643", "end": "2022-07-07 00:59:31.875492", "rc": 0, "start": "2022-07-07 00:59:31.826849" } STDOUT: LEGACY 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:59:32 +0000 (0:00:00.435) 0:00:05.358 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify that base policy was updated] ************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:14 Thursday 07 July 2022 04:59:32 +0000 (0:00:00.044) 0:00:05.402 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:20 Thursday 07 July 2022 04:59:32 +0000 (0:00:00.046) 0:00:05.449 ********* 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:59:32 +0000 (0:00:00.046) 0:00:05.495 ********* 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:59:32 +0000 (0:00:00.030) 0:00:05.526 ********* 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:59:32 +0000 (0:00:00.527) 0:00:06.054 ********* 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:59:32 +0000 (0:00:00.042) 0:00:06.096 ********* 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:59:33 +0000 (0:00:00.814) 0:00:06.911 ********* 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:59:33 +0000 (0:00:00.029) 0:00:06.940 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052005", "end": "2022-07-07 00:59:33.909797", "rc": 0, "start": "2022-07-07 00:59:33.857792" } STDOUT: LEGACY 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:59:34 +0000 (0:00:00.443) 0:00:07.383 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "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:59:34 +0000 (0:00:00.033) 0:00:07.416 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169930.8323207, "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": 1657169909.2246723, "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": 1657169956.6535735, "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:59:34 +0000 (0:00:00.395) 0:00:07.812 ********* 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:59:34 +0000 (0:00:00.044) 0:00:07.857 ********* 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:59:35 +0000 (0:00:00.374) 0:00:08.231 ********* 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:59:35 +0000 (0:00:00.080) 0:00:08.312 ********* 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:59:35 +0000 (0:00:00.066) 0:00:08.379 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.102932", "end": "2022-07-07 00:59:35.392968", "rc": 0, "start": "2022-07-07 00:59:35.290036" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:59:35 +0000 (0:00:00.486) 0:00:08.866 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:59:35 +0000 (0:00:00.069) 0:00:08.935 ********* 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:59:35 +0000 (0:00:00.030) 0:00:08.965 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049788", "end": "2022-07-07 00:59:35.918653", "rc": 0, "start": "2022-07-07 00:59:35.868865" } STDOUT: DEFAULT:NO-SHA1 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:59:36 +0000 (0:00:00.429) 0:00:09.395 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:26 Thursday 07 July 2022 04:59:36 +0000 (0:00:00.042) 0:00:09.437 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:34 Thursday 07 July 2022 04:59:36 +0000 (0:00:00.079) 0:00:09.516 ********* 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:59:36 +0000 (0:00:00.041) 0:00:09.557 ********* 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:59:36 +0000 (0:00:00.031) 0:00:09.589 ********* 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:59:36 +0000 (0:00:00.548) 0:00:10.137 ********* 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:59:36 +0000 (0:00:00.041) 0:00:10.179 ********* 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:59:37 +0000 (0:00:00.850) 0:00:11.029 ********* 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:59:37 +0000 (0:00:00.031) 0:00:11.061 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048469", "end": "2022-07-07 00:59:38.004141", "rc": 0, "start": "2022-07-07 00:59:37.955672" } STDOUT: DEFAULT:NO-SHA1 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:59:38 +0000 (0:00:00.412) 0:00:11.474 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:59:38 +0000 (0:00:00.030) 0:00:11.505 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169930.8323207, "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": 1657169909.2246723, "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": 1657169956.6535735, "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:59:38 +0000 (0:00:00.350) 0:00:11.855 ********* 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:59:38 +0000 (0:00:00.046) 0:00:11.901 ********* 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": 1657169975.3455734, "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:59:39 +0000 (0:00:00.392) 0:00:12.294 ********* 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:59:39 +0000 (0:00:00.047) 0:00:12.341 ********* 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:59:39 +0000 (0:00:00.034) 0:00:12.375 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.047563", "end": "2022-07-07 00:59:39.338115", "rc": 1, "start": "2022-07-07 00:59:39.290552" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:44 Thursday 07 July 2022 04:59:39 +0000 (0:00:00.432) 0:00:12.808 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:53 Thursday 07 July 2022 04:59:39 +0000 (0:00:00.033) 0:00:12.842 ********* 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:59:39 +0000 (0:00:00.036) 0:00:12.879 ********* 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:59:39 +0000 (0:00:00.028) 0:00:12.907 ********* 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:59:40 +0000 (0:00:00.520) 0:00:13.428 ********* 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:59:40 +0000 (0:00:00.042) 0:00:13.470 ********* 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:59:41 +0000 (0:00:00.814) 0:00:14.285 ********* 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:59:41 +0000 (0:00:00.031) 0:00:14.317 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046081", "end": "2022-07-07 00:59:41.265750", "rc": 0, "start": "2022-07-07 00:59:41.219669" } STDOUT: DEFAULT:NO-SHA1 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:59:41 +0000 (0:00:00.420) 0:00:14.737 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:59:41 +0000 (0:00:00.032) 0:00:14.770 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169930.8323207, "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": 1657169909.2246723, "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": 1657169956.6535735, "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:59:41 +0000 (0:00:00.386) 0:00:15.156 ********* 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:59:42 +0000 (0:00:00.075) 0:00:15.231 ********* 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": 1657169975.3455734, "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:59:42 +0000 (0:00:00.390) 0:00:15.622 ********* 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:59:42 +0000 (0:00:00.050) 0:00:15.672 ********* 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:59:42 +0000 (0:00:00.036) 0:00:15.709 ********* fatal: [/cache/centos-9.qcow2.snap]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.058576", "end": "2022-07-07 00:59:42.668719", "rc": 1, "start": "2022-07-07 00:59:42.610143" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:63 Thursday 07 July 2022 04:59:42 +0000 (0:00:00.429) 0:00:16.139 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:71 Thursday 07 July 2022 04:59:42 +0000 (0:00:00.033) 0:00:16.172 ********* 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:59:43 +0000 (0:00:00.051) 0:00:16.223 ********* 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:59:43 +0000 (0:00:00.030) 0:00:16.254 ********* 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:59:43 +0000 (0:00:00.555) 0:00:16.809 ********* 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:59:43 +0000 (0:00:00.045) 0:00:16.855 ********* 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:59:44 +0000 (0:00:00.814) 0:00:17.669 ********* 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:59:44 +0000 (0:00:00.031) 0:00:17.701 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047361", "end": "2022-07-07 00:59:44.657278", "rc": 0, "start": "2022-07-07 00:59:44.609917" } STDOUT: DEFAULT:NO-SHA1 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:59:44 +0000 (0:00:00.430) 0:00:18.131 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "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:59:44 +0000 (0:00:00.041) 0:00:18.173 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657169930.8323207, "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": 1657169909.2246723, "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": 1657169956.6535735, "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:59:45 +0000 (0:00:00.377) 0:00:18.550 ********* 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:59:45 +0000 (0:00:00.047) 0:00:18.597 ********* 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": 1657169975.3455734, "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:59:45 +0000 (0:00:00.382) 0:00:18.980 ********* 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:59:45 +0000 (0:00:00.047) 0:00:19.027 ********* 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:59:45 +0000 (0:00:00.032) 0:00:19.060 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-9.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-9.qcow2.snap changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.171841", "end": "2022-07-07 00:59:46.157115", "rc": 0, "start": "2022-07-07 00:59:45.985274" } STDOUT: Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. 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:59:46 +0000 (0:00:00.570) 0:00:19.631 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": 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:59:46 +0000 (0:00:00.036) 0:00:19.667 ********* 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:59:46 +0000 (0:00:00.029) 0:00:19.697 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047601", "end": "2022-07-07 00:59:46.643891", "rc": 0, "start": "2022-07-07 00:59:46.596290" } 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:59:46 +0000 (0:00:00.420) 0:00:20.117 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:82 Thursday 07 July 2022 04:59:46 +0000 (0:00:00.041) 0:00:20.159 ********* RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:59:46 +0000 (0:00:00.000) 0:00:20.159 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:59:46 +0000 (0:00:00.035) 0:00:20.194 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.035) 0:00:20.230 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.035) 0:00:20.265 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.035) 0:00:20.300 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.034) 0:00:20.335 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.035) 0:00:20.371 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.036) 0:00:20.408 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.036) 0:00:20.445 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.035) 0:00:20.480 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:83 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.044) 0:00:20.525 ********* 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=76 changed=3 unreachable=0 failed=0 skipped=15 rescued=2 ignored=0 Thursday 07 July 2022 04:59:47 +0000 (0:00:00.055) 0:00:20.580 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.12s /tmp/tmp17i904o_/tests/crypto_policies/tests_update.yml:3 --------------------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.97s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.85s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.81s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.81s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.81s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.57s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.56s /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.55s /tmp/tmpgwxbfuum/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.55s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmpgwxbfuum/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.51s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.49s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.47s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 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 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 : Update crypto policy if needed --- 0.43s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3