ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmppg6red9s executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /tmp/tmpr22npb4n/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:3 Thursday 07 July 2022 05:03:08 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:8 Thursday 07 July 2022 05:03:10 +0000 (0:00:01.187) 0:00:01.199 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:03:10 +0000 (0:00:00.060) 0:00:01.260 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:03:10 +0000 (0:00:00.027) 0:00:01.288 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:03:10 +0000 (0:00:00.513) 0:00:01.802 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:03:10 +0000 (0:00:00.040) 0:00:01.842 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:03:12 +0000 (0:00:01.942) 0:00:03.785 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:12 +0000 (0:00:00.029) 0:00:03.815 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.060128", "end": "2022-07-07 01:03:12.582944", "rc": 0, "start": "2022-07-07 01:03:12.522816" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:13 +0000 (0:00:00.567) 0:00:04.382 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:03:13 +0000 (0:00:00.031) 0:00:04.413 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170171.5036173, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170152.1052744, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:03:13 +0000 (0:00:00.503) 0:00:04.917 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:03:13 +0000 (0:00:00.044) 0:00:04.961 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.392) 0:00:05.354 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.042) 0:00:05.396 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.031) 0:00:05.428 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.024) 0:00:05.452 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.023) 0:00:05.476 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.033) 0:00:05.510 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056242", "end": "2022-07-07 01:03:14.146611", "rc": 0, "start": "2022-07-07 01:03:14.090369" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.440) 0:00:05.950 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:12 Thursday 07 July 2022 05:03:14 +0000 (0:00:00.040) 0:00:05.991 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MTEyOAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:17 Thursday 07 July 2022 05:03:15 +0000 (0:00:00.510) 0:00:06.501 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:03:15 +0000 (0:00:00.039) 0:00:06.541 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:03:15 +0000 (0:00:00.028) 0:00:06.569 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:03:16 +0000 (0:00:00.538) 0:00:07.108 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:03:16 +0000 (0:00:00.042) 0:00:07.151 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:03:17 +0000 (0:00:01.446) 0:00:08.597 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:17 +0000 (0:00:00.029) 0:00:08.626 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051289", "end": "2022-07-07 01:03:17.246186", "rc": 0, "start": "2022-07-07 01:03:17.194897" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:17 +0000 (0:00:00.421) 0:00:09.048 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.032) 0:00:09.080 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170171.5036173, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170152.1052744, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.371) 0:00:09.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.071) 0:00:09.523 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.368) 0:00:09.892 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.045) 0:00:09.937 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:03:18 +0000 (0:00:00.031) 0:00:09.969 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.095655", "end": "2022-07-07 01:03:18.674536", "rc": 0, "start": "2022-07-07 01:03:18.578881" } 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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:03:19 +0000 (0:00:00.503) 0:00:10.472 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:03:19 +0000 (0:00:00.035) 0:00:10.508 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:19 +0000 (0:00:00.028) 0:00:10.536 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050330", "end": "2022-07-07 01:03:19.181549", "rc": 0, "start": "2022-07-07 01:03:19.131219" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:19 +0000 (0:00:00.439) 0:00:10.976 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:24 Thursday 07 July 2022 05:03:19 +0000 (0:00:00.040) 0:00:11.017 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MTEyOAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:29 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.384) 0:00:11.401 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:33 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.033) 0:00:11.434 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:38 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.031) 0:00:11.466 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.046) 0:00:11.513 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.028) 0:00:11.541 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:03:20 +0000 (0:00:00.517) 0:00:12.058 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:03:21 +0000 (0:00:00.045) 0:00:12.103 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:03:22 +0000 (0:00:01.544) 0:00:13.648 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:22 +0000 (0:00:00.029) 0:00:13.678 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054726", "end": "2022-07-07 01:03:22.306707", "rc": 0, "start": "2022-07-07 01:03:22.251981" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.430) 0:00:14.108 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.031) 0:00:14.140 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170171.5036173, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170152.1052744, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170198.6237352, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.372) 0:00:14.513 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.045) 0:00:14.558 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.368) 0:00:14.927 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.046) 0:00:14.973 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:03:23 +0000 (0:00:00.034) 0:00:15.008 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.130344", "end": "2022-07-07 01:03:23.717726", "rc": 0, "start": "2022-07-07 01:03:23.587382" } 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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:03:24 +0000 (0:00:00.505) 0:00:15.514 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:03:24 +0000 (0:00:00.037) 0:00:15.552 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:24 +0000 (0:00:00.030) 0:00:15.582 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052276", "end": "2022-07-07 01:03:24.195284", "rc": 0, "start": "2022-07-07 01:03:24.143008" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:24 +0000 (0:00:00.413) 0:00:15.995 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:44 Thursday 07 July 2022 05:03:24 +0000 (0:00:00.043) 0:00:16.038 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MzcxMAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:49 Thursday 07 July 2022 05:03:25 +0000 (0:00:00.355) 0:00:16.394 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:54 Thursday 07 July 2022 05:03:25 +0000 (0:00:00.062) 0:00:16.456 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:60 Thursday 07 July 2022 05:03:25 +0000 (0:00:00.033) 0:00:16.490 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:03:25 +0000 (0:00:00.044) 0:00:16.535 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:03:25 +0000 (0:00:00.028) 0:00:16.564 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:03:26 +0000 (0:00:00.538) 0:00:17.102 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:03:26 +0000 (0:00:00.042) 0:00:17.145 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:03:27 +0000 (0:00:01.366) 0:00:18.511 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:27 +0000 (0:00:00.030) 0:00:18.542 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050727", "end": "2022-07-07 01:03:27.159075", "rc": 0, "start": "2022-07-07 01:03:27.108348" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:27 +0000 (0:00:00.412) 0:00:18.955 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:03:27 +0000 (0:00:00.033) 0:00:18.988 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170171.5036173, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170152.1052744, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170198.6237352, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.367) 0:00:19.355 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.045) 0:00:19.401 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.372) 0:00:19.774 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.045) 0:00:19.819 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.032) 0:00:19.851 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.026) 0:00:19.878 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.024) 0:00:19.903 ********* included: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:03:28 +0000 (0:00:00.028) 0:00:19.931 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050587", "end": "2022-07-07 01:03:28.550315", "rc": 0, "start": "2022-07-07 01:03:28.499728" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.414) 0:00:20.346 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpr22npb4n/tests/tests_reload.yml:71 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.039) 0:00:20.385 ********* RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.000) 0:00:20.385 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.032) 0:00:20.417 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.032) 0:00:20.450 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.031) 0:00:20.482 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.032) 0:00:20.515 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.032) 0:00:20.547 ********* skipping: [/cache/rhel-8-y.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/tmpr22npb4n/tests/tests_reload.yml:72 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.039) 0:00:20.587 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=69 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 07 July 2022 05:03:29 +0000 (0:00:00.051) 0:00:20.639 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.91s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.94s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.45s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.19s /tmp/tmpr22npb4n/tests/tests_reload.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.74s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Find base policies files ----------- 0.74s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.57s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.53s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.51s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Get SSHD pid before policy update --------------------------------------- 0.51s /tmp/tmpr22npb4n/tests/tests_reload.yml:12 ------------------------------------ linux-system-roles.crypto_policies : Find base policies files ----------- 0.50s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.50s /tmp/tmpr22npb4n/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.44s /tmp/tmpr22npb4n/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.44s /tmp/tmpr22npb4n/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/tmpr22npb4n/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/tmpr22npb4n/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.41s /tmp/tmpr22npb4n/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/tmppg6red9s executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:3 Thursday 07 July 2022 05:05:03 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:8 Thursday 07 July 2022 05:05:04 +0000 (0:00:01.162) 0:00:01.175 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:05:04 +0000 (0:00:00.063) 0:00:01.239 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:05:04 +0000 (0:00:00.031) 0:00:01.270 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:05:05 +0000 (0:00:00.541) 0:00:01.811 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:05:05 +0000 (0:00:00.040) 0:00:01.852 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:05:07 +0000 (0:00:01.850) 0:00:03.702 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:07 +0000 (0:00:00.033) 0:00:03.736 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.061302", "end": "2022-07-07 01:05:07.902575", "rc": 0, "start": "2022-07-07 01:05:07.841273" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:07 +0000 (0:00:00.556) 0:00:04.292 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.031) 0:00:04.324 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170291.8888261, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170274.9529626, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.493) 0:00:04.818 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.046) 0:00:04.864 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.362) 0:00:05.226 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.044) 0:00:05.271 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:05:08 +0000 (0:00:00.033) 0:00:05.305 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:05:09 +0000 (0:00:00.026) 0:00:05.331 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:05:09 +0000 (0:00:00.025) 0:00:05.357 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:09 +0000 (0:00:00.036) 0:00:05.393 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051900", "end": "2022-07-07 01:05:09.427572", "rc": 0, "start": "2022-07-07 01:05:09.375672" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:09 +0000 (0:00:00.426) 0:00:05.820 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:12 Thursday 07 July 2022 05:05:09 +0000 (0:00:00.044) 0:00:05.864 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MTExNQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:17 Thursday 07 July 2022 05:05:10 +0000 (0:00:00.514) 0:00:06.378 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:05:10 +0000 (0:00:00.044) 0:00:06.423 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:05:10 +0000 (0:00:00.029) 0:00:06.452 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:05:10 +0000 (0:00:00.541) 0:00:06.994 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:05:10 +0000 (0:00:00.042) 0:00:07.037 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:05:12 +0000 (0:00:01.336) 0:00:08.374 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:12 +0000 (0:00:00.035) 0:00:08.409 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.055440", "end": "2022-07-07 01:05:12.455686", "rc": 0, "start": "2022-07-07 01:05:12.400246" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:12 +0000 (0:00:00.433) 0:00:08.843 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:05:12 +0000 (0:00:00.063) 0:00:08.906 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170291.8888261, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170274.9529626, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:05:13 +0000 (0:00:00.419) 0:00:09.326 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:05:13 +0000 (0:00:00.044) 0:00:09.370 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:05:13 +0000 (0:00:00.371) 0:00:09.742 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:05:13 +0000 (0:00:00.077) 0:00:09.819 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:05:13 +0000 (0:00:00.072) 0:00:09.892 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.099028", "end": "2022-07-07 01:05:14.016149", "rc": 0, "start": "2022-07-07 01:05:13.917121" } 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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:05:14 +0000 (0:00:00.511) 0:00:10.404 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:05:14 +0000 (0:00:00.037) 0:00:10.441 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:14 +0000 (0:00:00.032) 0:00:10.474 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052399", "end": "2022-07-07 01:05:14.508495", "rc": 0, "start": "2022-07-07 01:05:14.456096" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:14 +0000 (0:00:00.423) 0:00:10.898 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:24 Thursday 07 July 2022 05:05:14 +0000 (0:00:00.041) 0:00:10.939 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MTExNQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:29 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.409) 0:00:11.348 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:33 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.031) 0:00:11.380 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:38 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.032) 0:00:11.412 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.050) 0:00:11.462 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.029) 0:00:11.492 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.529) 0:00:12.022 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:05:15 +0000 (0:00:00.056) 0:00:12.078 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:05:17 +0000 (0:00:01.406) 0:00:13.485 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:17 +0000 (0:00:00.032) 0:00:13.517 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050313", "end": "2022-07-07 01:05:17.560570", "rc": 0, "start": "2022-07-07 01:05:17.510257" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:17 +0000 (0:00:00.428) 0:00:13.945 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:05:17 +0000 (0:00:00.033) 0:00:13.979 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170291.8888261, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170274.9529626, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170313.963796, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:05:18 +0000 (0:00:00.369) 0:00:14.349 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:05:18 +0000 (0:00:00.045) 0:00:14.394 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:05:18 +0000 (0:00:00.381) 0:00:14.776 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:05:18 +0000 (0:00:00.043) 0:00:14.820 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:05:18 +0000 (0:00:00.031) 0:00:14.852 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-8-y.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-8-y.qcow2.snap changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.140590", "end": "2022-07-07 01:05:18.984468", "rc": 0, "start": "2022-07-07 01:05:18.843878" } 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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.522) 0:00:15.374 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.039) 0:00:15.414 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.029) 0:00:15.444 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054203", "end": "2022-07-07 01:05:19.510365", "rc": 0, "start": "2022-07-07 01:05:19.456162" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.455) 0:00:15.899 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:44 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.038) 0:00:15.938 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "content": "MzcwMgo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:49 Thursday 07 July 2022 05:05:19 +0000 (0:00:00.360) 0:00:16.298 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:54 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.032) 0:00:16.331 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:60 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.059) 0:00:16.390 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.045) 0:00:16.436 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.030) 0:00:16.467 ********* ok: [/cache/rhel-8-y.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.563) 0:00:17.030 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-8-y.qcow2.snap] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:05:20 +0000 (0:00:00.041) 0:00:17.072 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:05:22 +0000 (0:00:01.518) 0:00:18.591 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:22 +0000 (0:00:00.031) 0:00:18.622 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050726", "end": "2022-07-07 01:05:22.669757", "rc": 0, "start": "2022-07-07 01:05:22.619031" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:22 +0000 (0:00:00.439) 0:00:19.061 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:05:22 +0000 (0:00:00.033) 0:00:19.095 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1657170291.8888261, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170274.9529626, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170313.963796, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 8399525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.375) 0:00:19.470 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.046) 0:00:19.517 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1657080401.6152587, "dev": 64515, "gid": 0, "gr_name": "root", "inode": 16809157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.372) 0:00:19.890 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.046) 0:00:19.937 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.034) 0:00:19.971 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.025) 0:00:19.996 ********* skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.024) 0:00:20.021 ********* included: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:05:23 +0000 (0:00:00.031) 0:00:20.052 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049172", "end": "2022-07-07 01:05:24.077192", "rc": 0, "start": "2022-07-07 01:05:24.028020" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.409) 0:00:20.461 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-8-y.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:71 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.039) 0:00:20.500 ********* RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.000) 0:00:20.501 ********* skipping: [/cache/rhel-8-y.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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.033) 0:00:20.534 ********* skipping: [/cache/rhel-8-y.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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.033) 0:00:20.568 ********* skipping: [/cache/rhel-8-y.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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.031) 0:00:20.600 ********* skipping: [/cache/rhel-8-y.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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.032) 0:00:20.633 ********* skipping: [/cache/rhel-8-y.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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.035) 0:00:20.669 ********* skipping: [/cache/rhel-8-y.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/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:72 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.046) 0:00:20.715 ********* ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=69 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Thursday 07 July 2022 05:05:24 +0000 (0:00:00.051) 0:00:20.767 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.93s /tmp/tmppg6red9s/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.85s /tmp/tmppg6red9s/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.34s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:3 --------------------- fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.75s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.74s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.56s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.56s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.55s /tmp/tmppg6red9s/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.54s /tmp/tmppg6red9s/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/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Get SSHD pid before policy update --------------------------------------- 0.51s /tmp/tmp3_kv8arj/tests/crypto_policies/tests_reload.yml:12 -------------------- fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.51s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.49s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.46s /tmp/tmppg6red9s/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/tmppg6red9s/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.43s /tmp/tmppg6red9s/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.43s /tmp/tmppg6red9s/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.43s /tmp/tmppg6red9s/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3