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/tmpf9_vl7g9 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_reboot.yml ***************************************************** 1 plays in /tmp/tmpn1h30a2r/tests/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:3 Thursday 07 July 2022 05:08:42 +0000 (0:00:00.014) 0:00:00.014 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Ensure we can set crypto policy including reboot of the system] ********** task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:10 Thursday 07 July 2022 05:08:43 +0000 (0:00:01.106) 0:00:01.120 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:08:43 +0000 (0:00:00.039) 0:00:01.159 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:08:43 +0000 (0:00:00.047) 0:00:01.207 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:08:44 +0000 (0:00:00.525) 0:00:01.733 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:08:44 +0000 (0:00:00.039) 0:00:01.772 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:08:46 +0000 (0:00:01.833) 0:00:03.606 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:08:46 +0000 (0:00:00.031) 0:00:03.637 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046790", "end": "2022-07-07 05:08:46.312386", "rc": 0, "start": "2022-07-07 05:08:46.265596" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:08:46 +0000 (0:00:00.557) 0:00:04.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:08:46 +0000 (0:00:00.031) 0:00:04.226 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 11, "files": [ { "atime": 1657001966.209, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13094, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.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": 1651146052.0, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2070, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2599, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2866, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2611, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:08:47 +0000 (0:00:00.517) 0:00:04.743 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FEDORA38", "FIPS", "FUTURE", "GOST-ONLY", "LEGACY", "NEXT", "TEST-FEDORA39" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:08:47 +0000 (0:00:00.045) 0:00:04.789 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:08:47 +0000 (0:00:00.393) 0:00:05.182 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:08:47 +0000 (0:00:00.045) 0:00:05.227 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:08:47 +0000 (0:00:00.032) 0:00:05.260 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "FUTURE" ], "delta": "0:00:00.141528", "end": "2022-07-07 05:08:47.922713", "rc": 0, "start": "2022-07-07 05:08:47.781185" } STDOUT: Setting system policy to FUTURE 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/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:08:48 +0000 (0:00:00.541) 0:00:05.802 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:08:48 +0000 (0:00:00.037) 0:00:05.839 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:08:48 +0000 (0:00:00.034) 0:00:05.874 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045932", "end": "2022-07-07 05:08:48.424335", "rc": 0, "start": "2022-07-07 05:08:48.378403" } STDOUT: FUTURE TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:08:49 +0000 (0:00:00.428) 0:00:06.303 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:18 Thursday 07 July 2022 05:08:49 +0000 (0:00:00.043) 0:00:06.347 ********* RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:08:49 +0000 (0:00:00.000) 0:00:06.347 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "elapsed": 9, "rebooted": true } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:08:59 +0000 (0:00:10.636) 0:00:16.984 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } META: ran handlers TASK [Check the current policy is FUTURE] ************************************** task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:20 Thursday 07 July 2022 05:08:59 +0000 (0:00:00.057) 0:00:17.041 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:27 Thursday 07 July 2022 05:08:59 +0000 (0:00:00.031) 0:00:17.073 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:08:59 +0000 (0:00:00.040) 0:00:17.114 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:08:59 +0000 (0:00:00.030) 0:00:17.144 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:09:00 +0000 (0:00:00.603) 0:00:17.748 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:09:00 +0000 (0:00:00.042) 0:00:17.790 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:09:02 +0000 (0:00:02.062) 0:00:19.852 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:09:02 +0000 (0:00:00.029) 0:00:19.882 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057599", "end": "2022-07-07 05:09:02.973287", "rc": 0, "start": "2022-07-07 05:09:02.915688" } STDOUT: FUTURE TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:09:03 +0000 (0:00:00.491) 0:00:20.373 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:09:03 +0000 (0:00:00.031) 0:00:20.404 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 11, "files": [ { "atime": 1657001966.209, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13094, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.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": 1651146052.0, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2070, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170527.8217375, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2599, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2866, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2611, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:09:03 +0000 (0:00:00.399) 0:00:20.804 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FEDORA38", "FIPS", "FUTURE", "GOST-ONLY", "LEGACY", "NEXT", "TEST-FEDORA39" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:09:03 +0000 (0:00:00.047) 0:00:20.852 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:09:03 +0000 (0:00:00.397) 0:00:21.249 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:09:04 +0000 (0:00:00.045) 0:00:21.295 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:09:04 +0000 (0:00:00.033) 0:00:21.328 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.145214", "end": "2022-07-07 05:09:04.493471", "rc": 0, "start": "2022-07-07 05:09:04.348257" } 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/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:09:04 +0000 (0:00:00.552) 0:00:21.881 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:09:04 +0000 (0:00:00.038) 0:00:21.919 ********* included: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:09:04 +0000 (0:00:00.030) 0:00:21.950 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048346", "end": "2022-07-07 05:09:04.997323", "rc": 0, "start": "2022-07-07 05:09:04.948977" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:09:05 +0000 (0:00:00.438) 0:00:22.388 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpn1h30a2r/tests/tests_reboot.yml:39 Thursday 07 July 2022 05:09:05 +0000 (0:00:00.042) 0:00:22.430 ********* RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:09:05 +0000 (0:00:00.000) 0:00:22.431 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "elapsed": 9, "rebooted": true } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:09:15 +0000 (0:00:10.440) 0:00:32.871 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:09:15 +0000 (0:00:00.047) 0:00:32.919 ********* skipping: [/cache/fedora-36.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/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:09:15 +0000 (0:00:00.033) 0:00:32.952 ********* skipping: [/cache/fedora-36.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/tmpn1h30a2r/tests/tests_reboot.yml:40 Thursday 07 July 2022 05:09:15 +0000 (0:00:00.041) 0:00:32.994 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=39 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 07 July 2022 05:09:15 +0000 (0:00:00.042) 0:00:33.037 ********* =============================================================================== linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes -- 21.08s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.06s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.83s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmpn1h30a2r/tests/tests_reboot.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.60s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.56s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.55s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.54s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.52s /tmp/tmpn1h30a2r/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.49s /tmp/tmpn1h30a2r/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/tmpn1h30a2r/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/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.40s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.40s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.39s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag --- 0.10s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s /tmp/tmpn1h30a2r/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpf9_vl7g9 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_reboot.yml ***************************************************** 1 plays in /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:3 Thursday 07 July 2022 05:10:40 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Ensure we can set crypto policy including reboot of the system] ********** task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:10 Thursday 07 July 2022 05:10:42 +0000 (0:00:01.098) 0:00:01.111 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:10:42 +0000 (0:00:00.042) 0:00:01.153 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:10:42 +0000 (0:00:00.058) 0:00:01.212 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:10:42 +0000 (0:00:00.544) 0:00:01.757 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:10:42 +0000 (0:00:00.040) 0:00:01.797 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:10:44 +0000 (0:00:01.785) 0:00:03.583 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:10:44 +0000 (0:00:00.031) 0:00:03.614 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046598", "end": "2022-07-07 05:10:44.072594", "rc": 0, "start": "2022-07-07 05:10:44.025996" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:10:45 +0000 (0:00:00.567) 0:00:04.182 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:10:45 +0000 (0:00:00.032) 0:00:04.214 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 11, "files": [ { "atime": 1657001966.209, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13094, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.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": 1651146052.0, "ctime": 1657001933.72, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2070, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2599, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2866, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2611, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:10:45 +0000 (0:00:00.495) 0:00:04.710 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FEDORA38", "FIPS", "FUTURE", "GOST-ONLY", "LEGACY", "NEXT", "TEST-FEDORA39" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:10:45 +0000 (0:00:00.043) 0:00:04.753 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 31, "gid": 0, "gr_name": "root", "inode": 13111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.367) 0:00:05.120 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.044) 0:00:05.165 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.034) 0:00:05.199 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "FUTURE" ], "delta": "0:00:00.145630", "end": "2022-07-07 05:10:45.636530", "rc": 0, "start": "2022-07-07 05:10:45.490900" } STDOUT: Setting system policy to FUTURE 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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.545) 0:00:05.744 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.038) 0:00:05.783 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:10:46 +0000 (0:00:00.035) 0:00:05.819 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.044218", "end": "2022-07-07 05:10:46.141623", "rc": 0, "start": "2022-07-07 05:10:46.097405" } STDOUT: FUTURE TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:10:47 +0000 (0:00:00.428) 0:00:06.248 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:18 Thursday 07 July 2022 05:10:47 +0000 (0:00:00.044) 0:00:06.292 ********* RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:10:47 +0000 (0:00:00.000) 0:00:06.292 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "elapsed": 11, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:10:59 +0000 (0:00:12.653) 0:00:18.945 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } META: ran handlers TASK [Check the current policy is FUTURE] ************************************** task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:20 Thursday 07 July 2022 05:10:59 +0000 (0:00:00.057) 0:00:19.003 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:27 Thursday 07 July 2022 05:10:59 +0000 (0:00:00.035) 0:00:19.038 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:11:00 +0000 (0:00:00.044) 0:00:19.082 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:11:00 +0000 (0:00:00.029) 0:00:19.111 ********* ok: [/cache/fedora-36.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:11:00 +0000 (0:00:00.559) 0:00:19.670 ********* skipping: [/cache/fedora-36.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-36.qcow2.snap] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:11:00 +0000 (0:00:00.042) 0:00:19.713 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:11:02 +0000 (0:00:01.956) 0:00:21.670 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:11:02 +0000 (0:00:00.030) 0:00:21.700 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050576", "end": "2022-07-07 05:11:01.922812", "rc": 0, "start": "2022-07-07 05:11:01.872236" } STDOUT: FUTURE TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.460) 0:00:22.161 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.033) 0:00:22.194 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 11, "files": [ { "atime": 1657001966.209, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13094, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13095, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.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": 1651146052.0, "ctime": 1657001933.72, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2070, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1657170645.532026, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2599, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2866, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2692, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2611, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.380) 0:00:22.575 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FEDORA38", "FIPS", "FUTURE", "GOST-ONLY", "LEGACY", "NEXT", "TEST-FEDORA39" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.045) 0:00:22.620 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13106, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651146052.0, "ctime": 1657001933.721, "dev": 32, "gid": 0, "gr_name": "root", "inode": 13111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1651146052.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.385) 0:00:23.006 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:11:03 +0000 (0:00:00.044) 0:00:23.050 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "FEDORA32", "GOST", "NO-CAMELLIA", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:11:04 +0000 (0:00:00.033) 0:00:23.084 ********* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/fedora-36.qcow2.snap NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/fedora-36.qcow2.snap changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.138430", "end": "2022-07-07 05:11:03.372613", "rc": 0, "start": "2022-07-07 05:11:03.234183" } 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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:11:04 +0000 (0:00:00.526) 0:00:23.610 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:11:04 +0000 (0:00:00.037) 0:00:23.647 ********* included: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:11:04 +0000 (0:00:00.029) 0:00:23.677 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047389", "end": "2022-07-07 05:11:03.886454", "rc": 0, "start": "2022-07-07 05:11:03.839065" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:11:05 +0000 (0:00:00.449) 0:00:24.126 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/fedora-36.qcow2.snap TASK [meta] ******************************************************************** task path: /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:39 Thursday 07 July 2022 05:11:05 +0000 (0:00:00.042) 0:00:24.169 ********* RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:11:05 +0000 (0:00:00.000) 0:00:24.169 ********* changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "elapsed": 11, "rebooted": true } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:11:17 +0000 (0:00:12.787) 0:00:36.956 ********* ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Thursday 07 July 2022 05:11:17 +0000 (0:00:00.046) 0:00:37.003 ********* skipping: [/cache/fedora-36.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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Thursday 07 July 2022 05:11:17 +0000 (0:00:00.034) 0:00:37.038 ********* skipping: [/cache/fedora-36.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/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:40 Thursday 07 July 2022 05:11:18 +0000 (0:00:00.048) 0:00:37.086 ********* ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=39 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 07 July 2022 05:11:18 +0000 (0:00:00.047) 0:00:37.134 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : reboot the managed host to apply crypto policies changes -- 25.44s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.96s /tmp/tmpf9_vl7g9/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.79s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.10s /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:3 --------------------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.57s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.56s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.55s /tmp/tmpf9_vl7g9/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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.53s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.50s /tmp/tmpf9_vl7g9/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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.45s /tmp/tmpf9_vl7g9/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/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.39s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.38s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.37s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag --- 0.10s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : clear the crypto_policies_reboot_required flag --- 0.05s /tmp/tmpf9_vl7g9/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Check the current policy has been restored to DEFAULT ------------------- 0.05s /tmp/tmpf4w10hr9/tests/crypto_policies/tests_reboot.yml:40 --------------------