# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.14.4] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.14/lib/python3.9/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cimgk_jk7y/.collection executable location = /opt/ansible-2.14/bin/ansible-playbook python version = 3.9.16 (main, Jan 17 2023, 18:53:15) [GCC 8.5.0 20210514 (Red Hat 8.5.0-18)] (/opt/ansible-2.14/bin/python3.9) jinja version = 3.1.2 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 /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:3 Saturday 27 May 2023 04:43:26 +0000 (0:00:00.020) 0:00:00.020 ********** ok: [sut] TASK [Run role to make sure all dependencies are installed] ******************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:8 Saturday 27 May 2023 04:43:27 +0000 (0:00:00.910) 0:00:00.930 ********** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 May 2023 04:43:27 +0000 (0:00:00.056) 0:00:00.987 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 May 2023 04:43:27 +0000 (0:00:00.027) 0:00:01.014 ********** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 27 May 2023 04:43:27 +0000 (0:00:00.375) 0:00:01.390 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 May 2023 04:43:27 +0000 (0:00:00.043) 0:00:01.433 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 27 May 2023 04:43:30 +0000 (0:00:02.414) 0:00:03.848 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:30 +0000 (0:00:00.024) 0:00:03.872 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.213099", "end": "2023-05-27 04:43:30.895182", "rc": 0, "start": "2023-05-27 04:43:30.682083" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:30 +0000 (0:00:00.520) 0:00:04.393 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 27 May 2023 04:43:30 +0000 (0:00:00.020) 0:00:04.413 ********** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1584, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1588, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1589, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1582, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1586, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1583, "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": 1684244246.155, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1581, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1585, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1587, "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 } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.310) 0:00:04.724 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FIPS", "NEXT", "TEST-FEDORA39", "EMPTY", "GOST-ONLY", "FEDORA38", "DEFAULT", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.085) 0:00:04.809 ********** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1591, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1595, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1592, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1593, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1598, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1594, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1596, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1597, "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 } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.212) 0:00:05.022 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.082) 0:00:05.104 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.021) 0:00:05.125 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.026) 0:00:05.152 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:70 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.024) 0:00:05.177 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.026) 0:00:05.203 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050655", "end": "2023-05-27 04:43:31.964029", "rc": 0, "start": "2023-05-27 04:43:31.913374" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:31 +0000 (0:00:00.258) 0:00:05.462 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:12 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.023) 0:00:05.485 ********** ok: [sut] => { "changed": false, "content": "Mzg2MQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:17 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.298) 0:00:05.783 ********** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.044) 0:00:05.828 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.027) 0:00:05.855 ********** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.376) 0:00:06.232 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 May 2023 04:43:32 +0000 (0:00:00.040) 0:00:06.273 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 27 May 2023 04:43:35 +0000 (0:00:02.272) 0:00:08.545 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.029) 0:00:08.575 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050708", "end": "2023-05-27 04:43:35.339511", "rc": 0, "start": "2023-05-27 04:43:35.288803" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.262) 0:00:08.838 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.025) 0:00:08.863 ********** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1584, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1588, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1589, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1582, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1586, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1583, "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": 1684244246.155, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1581, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1585, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1587, "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 } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.214) 0:00:09.078 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FIPS", "NEXT", "TEST-FEDORA39", "EMPTY", "GOST-ONLY", "FEDORA38", "DEFAULT", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.078) 0:00:09.156 ********** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1591, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1595, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1592, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1593, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1598, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1594, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1596, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1597, "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 } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.212) 0:00:09.369 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.079) 0:00:09.448 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 27 May 2023 04:43:35 +0000 (0:00:00.020) 0:00:09.469 ********** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.178677", "end": "2023-05-27 04:43:36.367776", "rc": 0, "start": "2023-05-27 04:43:36.189099" } 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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.399) 0:00:09.868 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:70 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.029) 0:00:09.898 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.025) 0:00:09.924 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051320", "end": "2023-05-27 04:43:36.688755", "rc": 0, "start": "2023-05-27 04:43:36.637435" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.263) 0:00:10.188 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:24 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.033) 0:00:10.221 ********** ok: [sut] => { "changed": false, "content": "Mzg2MQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:29 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.202) 0:00:10.424 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:33 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.017) 0:00:10.441 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:38 Saturday 27 May 2023 04:43:36 +0000 (0:00:00.017) 0:00:10.459 ********** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 May 2023 04:43:37 +0000 (0:00:00.051) 0:00:10.511 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 May 2023 04:43:37 +0000 (0:00:00.022) 0:00:10.534 ********** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 27 May 2023 04:43:37 +0000 (0:00:00.372) 0:00:10.906 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 May 2023 04:43:37 +0000 (0:00:00.041) 0:00:10.947 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 27 May 2023 04:43:39 +0000 (0:00:02.291) 0:00:13.239 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:39 +0000 (0:00:00.023) 0:00:13.263 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051239", "end": "2023-05-27 04:43:40.026613", "rc": 0, "start": "2023-05-27 04:43:39.975374" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.264) 0:00:13.527 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.024) 0:00:13.552 ********** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1584, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1588, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1589, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1582, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1586, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1583, "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": 1684244246.155, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1581, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1585, "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": 1685162616.281631, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1587, "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 } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.217) 0:00:13.769 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FIPS", "NEXT", "TEST-FEDORA39", "EMPTY", "GOST-ONLY", "FEDORA38", "DEFAULT", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.084) 0:00:13.853 ********** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1591, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1595, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1592, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1593, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1598, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1594, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1596, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1597, "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 } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.213) 0:00:14.067 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.081) 0:00:14.148 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 27 May 2023 04:43:40 +0000 (0:00:00.019) 0:00:14.168 ********** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.259473", "end": "2023-05-27 04:43:41.152426", "rc": 0, "start": "2023-05-27 04:43:40.892953" } 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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.483) 0:00:14.651 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:70 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.029) 0:00:14.681 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.024) 0:00:14.706 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051703", "end": "2023-05-27 04:43:41.471163", "rc": 0, "start": "2023-05-27 04:43:41.419460" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.264) 0:00:14.970 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:44 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.026) 0:00:14.997 ********** ok: [sut] => { "changed": false, "content": "NTM4Ngo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:49 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.203) 0:00:15.200 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:54 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.016) 0:00:15.217 ********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:60 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.017) 0:00:15.235 ********** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.050) 0:00:15.285 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 May 2023 04:43:41 +0000 (0:00:00.023) 0:00:15.308 ********** ok: [sut] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Saturday 27 May 2023 04:43:42 +0000 (0:00:00.376) 0:00:15.685 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=Fedora_36.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_36.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 May 2023 04:43:42 +0000 (0:00:00.042) 0:00:15.727 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Saturday 27 May 2023 04:43:44 +0000 (0:00:02.261) 0:00:17.989 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:44 +0000 (0:00:00.024) 0:00:18.013 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050772", "end": "2023-05-27 04:43:44.774405", "rc": 0, "start": "2023-05-27 04:43:44.723633" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:44 +0000 (0:00:00.259) 0:00:18.272 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Saturday 27 May 2023 04:43:44 +0000 (0:00:00.020) 0:00:18.292 ********** ok: [sut] => { "changed": false, "examined": 11, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1584, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1588, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1589, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1582, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1586, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1583, "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": 1685162620.9384985, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1581, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1585, "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": 1685162616.281631, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1587, "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 } ], "matched": 9, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:22 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.209) 0:00:18.502 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "FIPS", "NEXT", "TEST-FEDORA39", "EMPTY", "GOST-ONLY", "FEDORA38", "DEFAULT", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.075) 0:00:18.577 ********** ok: [sut] => { "changed": false, "examined": 8, "files": [ { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1591, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1595, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1592, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1593, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1598, "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 }, { "atime": 1651146052.0, "ctime": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1594, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1596, "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": 1684244211.584, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 1597, "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 } ], "matched": 8, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:37 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.209) 0:00:18.787 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:44 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.077) 0:00:18.864 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "NO-CAMELLIA", "ECDHE-ONLY", "FEDORA32", "SHA1", "GOST", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.020) 0:00:18.884 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.026) 0:00:18.911 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:70 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.025) 0:00:18.937 ********** included: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for sut TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.026) 0:00:18.963 ********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050775", "end": "2023-05-27 04:43:45.727323", "rc": 0, "start": "2023-05-27 04:43:45.676548" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.261) 0:00:19.225 ********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:71 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.023) 0:00:19.249 ********** META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.007) 0:00:19.256 ********** skipping: [sut] => { "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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.034) 0:00:19.291 ********** skipping: [sut] => { "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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.035) 0:00:19.326 ********** skipping: [sut] => { "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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.035) 0:00:19.361 ********** skipping: [sut] => { "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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.033) 0:00:19.394 ********** skipping: [sut] => { "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: /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.032) 0:00:19.427 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:73 Saturday 27 May 2023 04:43:45 +0000 (0:00:00.033) 0:00:19.460 ********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=69 changed=2 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 27 May 2023 04:43:46 +0000 (0:00:00.036) 0:00:19.497 ********** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 4.55s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.41s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.27s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.91s /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:3 ----------------------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.52s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.51s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.43s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.42s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:29 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.40s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:50 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.38s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.38s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.38s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.37s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.31s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:14 Get SSHD pid before policy update --------------------------------------- 0.30s /WORKDIR/git-weekly-cimgk_jk7y/tests/tests_reload.yml:12 ---------------------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.26s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.26s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.26s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.26s /WORKDIR/git-weekly-cimgk_jk7y/.collection/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.26s /WORKDIR/git-weekly-cimgk_jk7y/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---