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_reload.yml ***************************************************** 1 plays in /tmp/tmpt_33lpa1/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:3 Thursday 07 July 2022 04:57:10 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:8 Thursday 07 July 2022 04:57:11 +0000 (0:00:01.178) 0:00:01.192 ********* 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:11 +0000 (0:00:00.055) 0:00:01.248 ********* 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:11 +0000 (0:00:00.028) 0:00:01.277 ********* 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:11 +0000 (0:00:00.529) 0:00:01.806 ********* 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:12 +0000 (0:00:00.042) 0:00:01.849 ********* 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:13 +0000 (0:00:01.283) 0:00:03.132 ********* 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:13 +0000 (0:00:00.029) 0:00:03.162 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.059808", "end": "2022-07-07 00:57:13.208872", "rc": 0, "start": "2022-07-07 00:57:13.149064" } 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:13 +0000 (0:00:00.569) 0:00:03.731 ********* 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:13 +0000 (0:00:00.032) 0:00:03.764 ********* 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": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:57:14 +0000 (0:00:00.493) 0:00:04.257 ********* 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:14 +0000 (0:00:00.045) 0:00:04.303 ********* 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:14 +0000 (0:00:00.369) 0:00:04.673 ********* 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:14 +0000 (0:00:00.043) 0:00:04.716 ********* 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:14 +0000 (0:00:00.031) 0:00:04.748 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:57:14 +0000 (0:00:00.024) 0:00:04.772 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:57:14 +0000 (0:00:00.023) 0:00:04.795 ********* 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:14 +0000 (0:00:00.027) 0:00:04.823 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047411", "end": "2022-07-07 00:57:14.727717", "rc": 0, "start": "2022-07-07 00:57:14.680306" } 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:15 +0000 (0:00:00.427) 0:00:05.251 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:12 Thursday 07 July 2022 04:57:15 +0000 (0:00:00.036) 0:00:05.287 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "ODI1Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:17 Thursday 07 July 2022 04:57:15 +0000 (0:00:00.493) 0:00:05.780 ********* 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:15 +0000 (0:00:00.043) 0:00:05.823 ********* 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:16 +0000 (0:00:00.027) 0:00:05.851 ********* 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:16 +0000 (0:00:00.558) 0:00:06.409 ********* 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:16 +0000 (0:00:00.042) 0:00:06.452 ********* 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:17 +0000 (0:00:00.838) 0:00:07.291 ********* 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:17 +0000 (0:00:00.029) 0:00:07.321 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.055934", "end": "2022-07-07 00:57:17.209874", "rc": 0, "start": "2022-07-07 00:57:17.153940" } 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:17 +0000 (0:00:00.412) 0:00:07.733 ********* 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:17 +0000 (0:00:00.070) 0:00:07.804 ********* 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": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:57:18 +0000 (0:00:00.368) 0:00:08.173 ********* 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:18 +0000 (0:00:00.074) 0:00:08.248 ********* 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:18 +0000 (0:00:00.398) 0:00:08.647 ********* 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:18 +0000 (0:00:00.072) 0:00:08.719 ********* 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:18 +0000 (0:00:00.032) 0:00:08.751 ********* 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", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.098654", "end": "2022-07-07 00:57:18.879305", "rc": 0, "start": "2022-07-07 00:57:18.780651" } 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:19 +0000 (0:00:00.649) 0:00:09.401 ********* 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:19 +0000 (0:00:00.034) 0:00:09.435 ********* 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:19 +0000 (0:00:00.027) 0:00:09.463 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045771", "end": "2022-07-07 00:57:19.379744", "rc": 0, "start": "2022-07-07 00:57:19.333973" } 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:20 +0000 (0:00:00.433) 0:00:09.897 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:24 Thursday 07 July 2022 04:57:20 +0000 (0:00:00.040) 0:00:09.938 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "ODI1Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:29 Thursday 07 July 2022 04:57:20 +0000 (0:00:00.355) 0:00:10.293 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:33 Thursday 07 July 2022 04:57:20 +0000 (0:00:00.032) 0:00:10.326 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:38 Thursday 07 July 2022 04:57:20 +0000 (0:00:00.032) 0:00:10.358 ********* 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:20 +0000 (0:00:00.066) 0:00:10.424 ********* 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:20 +0000 (0:00:00.036) 0:00:10.461 ********* 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:21 +0000 (0:00:00.502) 0:00:10.964 ********* 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:21 +0000 (0:00:00.040) 0:00:11.004 ********* 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:21 +0000 (0:00:00.807) 0:00:11.812 ********* 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:22 +0000 (0:00:00.030) 0:00:11.842 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047826", "end": "2022-07-07 00:57:21.742092", "rc": 0, "start": "2022-07-07 00:57:21.694266" } 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:22 +0000 (0:00:00.423) 0:00:12.266 ********* 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:22 +0000 (0:00:00.034) 0:00:12.300 ********* 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:22 +0000 (0:00:00.378) 0:00:12.678 ********* 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:22 +0000 (0:00:00.046) 0:00:12.725 ********* 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:23 +0000 (0:00:00.369) 0:00:13.094 ********* 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:23 +0000 (0:00:00.074) 0:00:13.169 ********* 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:23 +0000 (0:00:00.032) 0:00:13.201 ********* 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.138414", "end": "2022-07-07 00:57:23.210067", "rc": 0, "start": "2022-07-07 00:57:23.071653" } 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:23 +0000 (0:00:00.533) 0:00:13.735 ********* 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:23 +0000 (0:00:00.038) 0:00:13.773 ********* 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:23 +0000 (0:00:00.029) 0:00:13.803 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046758", "end": "2022-07-07 00:57:23.699305", "rc": 0, "start": "2022-07-07 00:57:23.652547" } 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:24 +0000 (0:00:00.419) 0:00:14.223 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:44 Thursday 07 July 2022 04:57:24 +0000 (0:00:00.038) 0:00:14.262 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "MzE1Ngo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:49 Thursday 07 July 2022 04:57:24 +0000 (0:00:00.375) 0:00:14.637 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:54 Thursday 07 July 2022 04:57:24 +0000 (0:00:00.033) 0:00:14.671 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmpt_33lpa1/tests/tests_reload.yml:60 Thursday 07 July 2022 04:57:24 +0000 (0:00:00.032) 0:00:14.703 ********* 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:24 +0000 (0:00:00.043) 0:00:14.747 ********* 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:24 +0000 (0:00:00.029) 0:00:14.776 ********* 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:25 +0000 (0:00:00.593) 0:00:15.369 ********* 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:25 +0000 (0:00:00.045) 0:00:15.415 ********* 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:26 +0000 (0:00:00.864) 0:00:16.279 ********* 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:26 +0000 (0:00:00.029) 0:00:16.308 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047871", "end": "2022-07-07 00:57:26.208395", "rc": 0, "start": "2022-07-07 00:57:26.160524" } 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:26 +0000 (0:00:00.420) 0:00:16.729 ********* 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:26 +0000 (0:00:00.032) 0:00:16.761 ********* 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:27 +0000 (0:00:00.370) 0:00:17.132 ********* 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:27 +0000 (0:00:00.044) 0:00:17.177 ********* 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:27 +0000 (0:00:00.378) 0:00:17.556 ********* 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:27 +0000 (0:00:00.045) 0:00:17.601 ********* 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:27 +0000 (0:00:00.030) 0:00:17.631 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:57:27 +0000 (0:00:00.024) 0:00:17.656 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:57:27 +0000 (0:00:00.024) 0:00:17.681 ********* 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:27 +0000 (0:00:00.029) 0:00:17.710 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048241", "end": "2022-07-07 00:57:27.611113", "rc": 0, "start": "2022-07-07 00:57:27.562872" } 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:28 +0000 (0:00:00.422) 0:00:18.132 ********* 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_reload.yml:71 Thursday 07 July 2022 04:57:28 +0000 (0:00:00.039) 0:00:18.172 ********* 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:28 +0000 (0:00:00.000) 0:00:18.172 ********* 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:28 +0000 (0:00:00.033) 0:00:18.205 ********* 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:28 +0000 (0:00:00.033) 0:00:18.238 ********* 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:28 +0000 (0:00:00.034) 0:00:18.273 ********* 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:28 +0000 (0:00:00.032) 0:00:18.305 ********* 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:28 +0000 (0:00:00.034) 0:00:18.339 ********* 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_reload.yml:72 Thursday 07 July 2022 04:57:28 +0000 (0:00:00.041) 0:00:18.381 ********* 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=69 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 07 July 2022 04:57:28 +0000 (0:00:00.051) 0:00:18.432 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.67s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.28s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.18s /tmp/tmpt_33lpa1/tests/tests_reload.yml:3 ------------------------------------- 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 : Find base policies files ----------- 0.75s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.75s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.65s /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.59s /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 : Update crypto policy if needed ----- 0.56s /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.53s /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.50s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Get SSHD pid before policy update --------------------------------------- 0.49s /tmp/tmpt_33lpa1/tests/tests_reload.yml:12 ------------------------------------ linux-system-roles.crypto_policies : Find base policies files ----------- 0.49s /tmp/tmpt_33lpa1/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/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 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.42s /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.42s /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.42s /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_reload.yml ***************************************************** 1 plays in /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:3 Thursday 07 July 2022 04:59:07 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:8 Thursday 07 July 2022 04:59:08 +0000 (0:00:01.144) 0:00:01.157 ********* 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:08 +0000 (0:00:00.062) 0:00:01.219 ********* 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:09 +0000 (0:00:00.029) 0:00:01.249 ********* 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:09 +0000 (0:00:00.518) 0:00:01.767 ********* 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:09 +0000 (0:00:00.041) 0:00:01.809 ********* 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:10 +0000 (0:00:01.279) 0:00:03.088 ********* 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:10 +0000 (0:00:00.029) 0:00:03.117 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058877", "end": "2022-07-07 00:59:11.194195", "rc": 0, "start": "2022-07-07 00:59:11.135318" } 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:11 +0000 (0:00:00.590) 0:00:03.707 ********* 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:11 +0000 (0:00:00.035) 0:00:03.743 ********* 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": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:59:11 +0000 (0:00:00.493) 0:00:04.236 ********* 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:12 +0000 (0:00:00.046) 0:00:04.283 ********* 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:12 +0000 (0:00:00.384) 0:00:04.667 ********* 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:12 +0000 (0:00:00.048) 0:00:04.716 ********* 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:12 +0000 (0:00:00.036) 0:00:04.753 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:59:12 +0000 (0:00:00.026) 0:00:04.779 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:59:12 +0000 (0:00:00.023) 0:00:04.802 ********* 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:12 +0000 (0:00:00.036) 0:00:04.838 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046443", "end": "2022-07-07 00:59:12.739926", "rc": 0, "start": "2022-07-07 00:59:12.693483" } 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:13 +0000 (0:00:00.413) 0:00:05.252 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:12 Thursday 07 July 2022 04:59:13 +0000 (0:00:00.042) 0:00:05.295 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "ODI1Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:17 Thursday 07 July 2022 04:59:13 +0000 (0:00:00.496) 0:00:05.792 ********* 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:13 +0000 (0:00:00.043) 0:00:05.836 ********* 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:13 +0000 (0:00:00.028) 0:00:05.864 ********* 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:14 +0000 (0:00:00.542) 0:00:06.407 ********* 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:14 +0000 (0:00:00.042) 0:00:06.450 ********* 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:15 +0000 (0:00:00.809) 0:00:07.260 ********* 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:15 +0000 (0:00:00.031) 0:00:07.292 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046515", "end": "2022-07-07 00:59:15.194799", "rc": 0, "start": "2022-07-07 00:59:15.148284" } 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:15 +0000 (0:00:00.415) 0:00:07.707 ********* 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:15 +0000 (0:00:00.061) 0:00:07.769 ********* 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": 1650635908.0, "ctime": 1654523869.665, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 12583061, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 04:59:15 +0000 (0:00:00.356) 0:00:08.126 ********* 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:15 +0000 (0:00:00.047) 0:00:08.174 ********* 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:16 +0000 (0:00:00.382) 0:00:08.556 ********* 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:16 +0000 (0:00:00.077) 0:00:08.634 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 04:59:16 +0000 (0:00:00.068) 0:00:08.702 ********* 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", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.096832", "end": "2022-07-07 00:59:16.707716", "rc": 0, "start": "2022-07-07 00:59:16.610884" } 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:16 +0000 (0:00:00.519) 0:00:09.221 ********* 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:17 +0000 (0:00:00.068) 0:00:09.290 ********* 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:17 +0000 (0:00:00.062) 0:00:09.353 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.055213", "end": "2022-07-07 00:59:17.274899", "rc": 0, "start": "2022-07-07 00:59:17.219686" } 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:17 +0000 (0:00:00.436) 0:00:09.789 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:24 Thursday 07 July 2022 04:59:17 +0000 (0:00:00.040) 0:00:09.829 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "ODI1Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:29 Thursday 07 July 2022 04:59:17 +0000 (0:00:00.384) 0:00:10.213 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:33 Thursday 07 July 2022 04:59:17 +0000 (0:00:00.030) 0:00:10.243 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:38 Thursday 07 July 2022 04:59:18 +0000 (0:00:00.030) 0:00:10.274 ********* 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:18 +0000 (0:00:00.048) 0:00:10.323 ********* 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:18 +0000 (0:00:00.032) 0:00:10.355 ********* 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:18 +0000 (0:00:00.523) 0:00:10.879 ********* 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:18 +0000 (0:00:00.040) 0:00:10.919 ********* 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:19 +0000 (0:00:00.989) 0:00:11.909 ********* 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:19 +0000 (0:00:00.052) 0:00:11.961 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047351", "end": "2022-07-07 00:59:19.901801", "rc": 0, "start": "2022-07-07 00:59:19.854450" } 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:20 +0000 (0:00:00.454) 0:00:12.415 ********* 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:20 +0000 (0:00:00.032) 0:00:12.447 ********* 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:20 +0000 (0:00:00.375) 0:00:12.822 ********* 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:20 +0000 (0:00:00.047) 0:00:12.869 ********* 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:21 +0000 (0:00:00.381) 0:00:13.251 ********* 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:21 +0000 (0:00:00.048) 0:00:13.299 ********* 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:21 +0000 (0:00:00.033) 0:00:13.333 ********* 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.135376", "end": "2022-07-07 00:59:21.331827", "rc": 0, "start": "2022-07-07 00:59:21.196451" } 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:21 +0000 (0:00:00.512) 0:00:13.846 ********* 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:21 +0000 (0:00:00.037) 0:00:13.884 ********* 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:21 +0000 (0:00:00.031) 0:00:13.915 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046773", "end": "2022-07-07 00:59:21.818909", "rc": 0, "start": "2022-07-07 00:59:21.772136" } 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:22 +0000 (0:00:00.419) 0:00:14.335 ********* ok: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-9.qcow2.snap TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:44 Thursday 07 July 2022 04:59:22 +0000 (0:00:00.046) 0:00:14.381 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "content": "MzE1NQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:49 Thursday 07 July 2022 04:59:22 +0000 (0:00:00.372) 0:00:14.753 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:54 Thursday 07 July 2022 04:59:22 +0000 (0:00:00.033) 0:00:14.787 ********* 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_reload.yml:60 Thursday 07 July 2022 04:59:22 +0000 (0:00:00.033) 0:00:14.821 ********* 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:22 +0000 (0:00:00.042) 0:00:14.864 ********* 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:22 +0000 (0:00:00.028) 0:00:14.892 ********* 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:23 +0000 (0:00:00.537) 0:00:15.430 ********* 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:23 +0000 (0:00:00.043) 0:00:15.474 ********* 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:24 +0000 (0:00:00.793) 0:00:16.267 ********* 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:24 +0000 (0:00:00.032) 0:00:16.299 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045982", "end": "2022-07-07 00:59:24.229183", "rc": 0, "start": "2022-07-07 00:59:24.183201" } 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:24 +0000 (0:00:00.445) 0:00:16.745 ********* 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:24 +0000 (0:00:00.033) 0:00:16.779 ********* 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:24 +0000 (0:00:00.373) 0:00:17.153 ********* 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:24 +0000 (0:00:00.047) 0:00:17.200 ********* 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:25 +0000 (0:00:00.368) 0:00:17.568 ********* 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:25 +0000 (0:00:00.047) 0:00:17.616 ********* 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:25 +0000 (0:00:00.032) 0:00:17.649 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 04:59:25 +0000 (0:00:00.024) 0:00:17.674 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 04:59:25 +0000 (0:00:00.025) 0:00:17.699 ********* 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:25 +0000 (0:00:00.031) 0:00:17.730 ********* ok: [/cache/centos-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047346", "end": "2022-07-07 00:59:25.633705", "rc": 0, "start": "2022-07-07 00:59:25.586359" } 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:25 +0000 (0:00:00.415) 0:00:18.146 ********* 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_reload.yml:71 Thursday 07 July 2022 04:59:25 +0000 (0:00:00.040) 0:00:18.186 ********* 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:25 +0000 (0:00:00.000) 0:00:18.187 ********* 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:25 +0000 (0:00:00.032) 0:00:18.219 ********* 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:26 +0000 (0:00:00.034) 0:00:18.254 ********* 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:26 +0000 (0:00:00.033) 0:00:18.288 ********* 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:26 +0000 (0:00:00.031) 0:00:18.319 ********* 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:26 +0000 (0:00:00.031) 0:00:18.351 ********* 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_reload.yml:72 Thursday 07 July 2022 04:59:26 +0000 (0:00:00.047) 0:00:18.398 ********* 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=69 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 07 July 2022 04:59:26 +0000 (0:00:00.059) 0:00:18.458 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.78s /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 --- 1.28s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.14s /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:3 --------------------- 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 : Find subpolicy files -------- 0.75s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.75s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.59s /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.54s /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.54s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.54s /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.52s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.52s /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.52s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Get SSHD pid before policy update --------------------------------------- 0.50s /tmp/tmp17i904o_/tests/crypto_policies/tests_reload.yml:12 -------------------- fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.49s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.45s /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.45s /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 : Find out what is the currently active policy --- 0.42s /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.42s /tmp/tmpgwxbfuum/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3