# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] 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.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cinvzt_uco/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 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-cinvzt_uco/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:3 Saturday 10 August 2024 04:40:54 +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-cinvzt_uco/tests/tests_reload.yml:8 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.894) 0:00:00.914 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.024) 0:00:00.939 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.014) 0:00:00.954 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.015) 0:00:00.969 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.240) 0:00:01.210 ******* ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.015) 0:00:01.225 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.186) 0:00:01.411 ******* ok: [sut] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.015) 0:00:01.427 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 10 August 2024 04:40:55 +0000 (0:00:00.019) 0:00:01.447 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 10 August 2024 04:40:56 +0000 (0:00:00.695) 0:00:02.142 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 10 August 2024 04:40:56 +0000 (0:00:00.014) 0:00:02.156 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 10 August 2024 04:40:56 +0000 (0:00:00.012) 0:00:02.169 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 10 August 2024 04:40:56 +0000 (0:00:00.012) 0:00:02.181 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:40:56 +0000 (0:00:00.012) 0:00:02.193 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057530", "end": "2024-08-10 04:40:57.015038", "rc": 0, "start": "2024-08-10 04:40:56.957508" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.298) 0:00:02.492 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.011) 0:00:02.503 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722941011.4234564, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2550, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2597, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2734, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.249) 0:00:02.752 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.016) 0:00:02.769 ******* ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.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": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 4, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.192) 0:00:02.962 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.018) 0:00:02.980 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.011) 0:00:02.991 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.013) 0:00:03.005 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.011) 0:00:03.016 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.012) 0:00:03.029 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057353", "end": "2024-08-10 04:40:57.795379", "rc": 0, "start": "2024-08-10 04:40:57.738026" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.243) 0:00:03.272 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:12 Saturday 10 August 2024 04:40:57 +0000 (0:00:00.013) 0:00:03.285 ******* ok: [sut] => { "changed": false, "content": "OTQ2Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:17 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.238) 0:00:03.524 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.026) 0:00:03.550 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.013) 0:00:03.564 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.014) 0:00:03.579 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.012) 0:00:03.592 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.014) 0:00:03.606 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.011) 0:00:03.618 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.012) 0:00:03.630 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.020) 0:00:03.650 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.754) 0:00:04.404 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.012) 0:00:04.417 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.012) 0:00:04.429 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.012) 0:00:04.442 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:40:58 +0000 (0:00:00.011) 0:00:04.453 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057294", "end": "2024-08-10 04:40:59.219180", "rc": 0, "start": "2024-08-10 04:40:59.161886" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.243) 0:00:04.696 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.011) 0:00:04.708 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722941011.4234564, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2550, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2597, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2734, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.186) 0:00:04.894 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.016) 0:00:04.911 ******* ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.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": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 4, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.188) 0:00:05.099 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.016) 0:00:05.116 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.011) 0:00:05.128 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.116991", "end": "2024-08-10 04:40:59.959461", "rc": 0, "start": "2024-08-10 04:40:59.842470" } 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.309) 0:00:05.438 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 10 August 2024 04:40:59 +0000 (0:00:00.014) 0:00:05.452 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.013) 0:00:05.466 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057426", "end": "2024-08-10 04:41:00.232431", "rc": 0, "start": "2024-08-10 04:41:00.175005" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.244) 0:00:05.711 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:24 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.012) 0:00:05.724 ******* ok: [sut] => { "changed": false, "content": "OTQ2Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:29 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.178) 0:00:05.902 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:33 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.010) 0:00:05.913 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:38 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.009) 0:00:05.923 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.030) 0:00:05.953 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.013) 0:00:05.967 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.014) 0:00:05.981 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.012) 0:00:05.994 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.013) 0:00:06.008 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.014) 0:00:06.022 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.011) 0:00:06.034 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 10 August 2024 04:41:00 +0000 (0:00:00.019) 0:00:06.054 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.646) 0:00:06.700 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.013) 0:00:06.714 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.012) 0:00:06.726 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.012) 0:00:06.738 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.012) 0:00:06.750 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.059085", "end": "2024-08-10 04:41:01.518227", "rc": 0, "start": "2024-08-10 04:41:01.459142" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.244) 0:00:06.995 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.012) 0:00:07.008 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722941011.4234564, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2550, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2597, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1723264859.892136, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2734, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.191) 0:00:07.200 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.017) 0:00:07.217 ******* ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.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": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 4, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.190) 0:00:07.408 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.017) 0:00:07.425 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 10 August 2024 04:41:01 +0000 (0:00:00.011) 0:00:07.437 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.156318", "end": "2024-08-10 04:41:02.307151", "rc": 0, "start": "2024-08-10 04:41:02.150833" } 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.347) 0:00:07.784 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.014) 0:00:07.799 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.013) 0:00:07.812 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057464", "end": "2024-08-10 04:41:02.581635", "rc": 0, "start": "2024-08-10 04:41:02.524171" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.246) 0:00:08.059 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:44 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.014) 0:00:08.073 ******* ok: [sut] => { "changed": false, "content": "ODQ3Nwo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:49 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.183) 0:00:08.256 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:54 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.010) 0:00:08.267 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:60 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.011) 0:00:08.279 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.034) 0:00:08.313 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.014) 0:00:08.328 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.015) 0:00:08.344 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.015) 0:00:08.359 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.013) 0:00:08.373 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.012) 0:00:08.386 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.013) 0:00:08.399 ******* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 10 August 2024 04:41:02 +0000 (0:00:00.020) 0:00:08.419 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 10 August 2024 04:41:03 +0000 (0:00:00.906) 0:00:09.326 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 10 August 2024 04:41:03 +0000 (0:00:00.012) 0:00:09.339 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 10 August 2024 04:41:03 +0000 (0:00:00.012) 0:00:09.351 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 10 August 2024 04:41:03 +0000 (0:00:00.012) 0:00:09.364 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:41:03 +0000 (0:00:00.012) 0:00:09.376 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056878", "end": "2024-08-10 04:41:04.141890", "rc": 0, "start": "2024-08-10 04:41:04.085012" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.242) 0:00:09.619 ******* 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.012) 0:00:09.631 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1723264862.201133, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2550, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2098, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2597, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1723264859.892136, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2226395, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2734, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.188) 0:00:09.820 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.017) 0:00:09.838 ******* ok: [sut] => { "changed": false, "examined": 4, "files": [ { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436735, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.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": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436736, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721865600.0, "ctime": 1722940821.9074564, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4436737, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1721865600.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 4, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.190) 0:00:10.028 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.018) 0:00:10.047 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.011) 0:00:10.058 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_policy != crypto_policies_active", "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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.012) 0:00:10.071 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_policy != crypto_policies_active", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.012) 0:00:10.083 ******* included: /WORKDIR/git-weekly-cinvzt_uco/.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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.013) 0:00:10.096 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057918", "end": "2024-08-10 04:41:04.863560", "rc": 0, "start": "2024-08-10 04:41:04.805642" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.244) 0:00:10.341 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:71 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.014) 0:00:10.355 ******* 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 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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.003) 0:00:10.358 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(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-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.013) 0:00:10.372 ******* skipping: [sut] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(false)", "skip_reason": "Conditional result was False" } TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:73 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.013) 0:00:10.385 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=73 changed=2 unreachable=0 failed=0 skipped=38 rescued=0 ignored=0 Saturday 10 August 2024 04:41:04 +0000 (0:00:00.018) 0:00:10.404 ******* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.91s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.89s /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:3 ----------------------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.75s /WORKDIR/git-weekly-cinvzt_uco/.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 --- 0.70s /WORKDIR/git-weekly-cinvzt_uco/.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 --- 0.65s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.35s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.31s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.30s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.25s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.25s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.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.24s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.24s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Get SSHD pid before policy update --------------------------------------- 0.24s /WORKDIR/git-weekly-cinvzt_uco/tests/tests_reload.yml:12 ---------------------- fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.19s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.19s /WORKDIR/git-weekly-cinvzt_uco/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---