# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cisdgbqrc2/.collection executable location = /opt/ansible-2.16/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.16/bin/python) 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-cisdgbqrc2/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:3 Saturday 27 January 2024 04:57:20 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Run role to make sure all dependencies are installed] ******************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:8 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.813) 0:00:00.824 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.019) 0:00:00.844 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.013) 0:00:00.857 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.017) 0:00:00.874 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.268) 0:00:01.143 ****** ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.014) 0:00:01.158 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 January 2024 04:57:21 +0000 (0:00:00.018) 0:00:01.177 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 27 January 2024 04:57:22 +0000 (0:00:01.102) 0:00:02.279 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:22 +0000 (0:00:00.012) 0:00:02.292 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057644", "end": "2024-01-27 04:57:22.838615", "rc": 0, "start": "2024-01-27 04:57:22.780971" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:22 +0000 (0:00:00.326) 0:00:02.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 27 January 2024 04:57:22 +0000 (0:00:00.011) 0:00:02.630 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1705410515.403, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.272) 0:00:02.902 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.021) 0:00:02.924 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291601, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291605, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291606, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.210) 0:00:03.134 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.022) 0:00:03.157 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.010) 0:00:03.168 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.011) 0:00:03.179 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.010) 0:00:03.190 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.012) 0:00:03.202 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058764", "end": "2024-01-27 04:57:23.690647", "rc": 0, "start": "2024-01-27 04:57:23.631883" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.268) 0:00:03.471 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:12 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.012) 0:00:03.483 ****** ok: [sut] => { "changed": false, "content": "ODU5Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:17 Saturday 27 January 2024 04:57:23 +0000 (0:00:00.258) 0:00:03.742 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.020) 0:00:03.763 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.012) 0:00:03.775 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.017) 0:00:03.793 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.010) 0:00:03.804 ****** 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 platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.010) 0:00:03.815 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 January 2024 04:57:24 +0000 (0:00:00.019) 0:00:03.834 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.998) 0:00:04.832 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.012) 0:00:04.844 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056920", "end": "2024-01-27 04:57:25.333485", "rc": 0, "start": "2024-01-27 04:57:25.276565" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.270) 0:00:05.115 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.011) 0:00:05.126 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1705410515.403, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.209) 0:00:05.335 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.020) 0:00:05.356 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291601, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291605, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291606, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.216) 0:00:05.573 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.020) 0:00:05.594 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 27 January 2024 04:57:25 +0000 (0:00:00.011) 0:00:05.605 ****** 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.132969", "end": "2024-01-27 04:57:26.172523", "rc": 0, "start": "2024-01-27 04:57:26.039554" } 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.347) 0:00:05.952 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.014) 0:00:05.967 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.012) 0:00:05.980 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058928", "end": "2024-01-27 04:57:26.471095", "rc": 0, "start": "2024-01-27 04:57:26.412167" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.271) 0:00:06.251 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:24 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.012) 0:00:06.263 ****** ok: [sut] => { "changed": false, "content": "ODU5Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:29 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.203) 0:00:06.467 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:33 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.011) 0:00:06.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:38 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.009) 0:00:06.488 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.023) 0:00:06.512 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.013) 0:00:06.526 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.017) 0:00:06.543 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.010) 0:00:06.554 ****** 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 platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.010) 0:00:06.565 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 January 2024 04:57:26 +0000 (0:00:00.019) 0:00:06.584 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 27 January 2024 04:57:27 +0000 (0:00:00.991) 0:00:07.576 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:27 +0000 (0:00:00.012) 0:00:07.588 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058247", "end": "2024-01-27 04:57:28.079100", "rc": 0, "start": "2024-01-27 04:57:28.020853" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.271) 0:00:07.860 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.010) 0:00:07.871 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1705410515.403, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1706331446.0923386, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.215) 0:00:08.086 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.020) 0:00:08.107 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291601, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291605, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291606, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.212) 0:00:08.319 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.020) 0:00:08.340 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.011) 0:00:08.351 ****** Notification for handler __crypto_policies_handler_modified has been saved. changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.178057", "end": "2024-01-27 04:57:28.965019", "rc": 0, "start": "2024-01-27 04:57:28.786962" } 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 27 January 2024 04:57:28 +0000 (0:00:00.393) 0:00:08.745 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.014) 0:00:08.760 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.012) 0:00:08.772 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057992", "end": "2024-01-27 04:57:29.261515", "rc": 0, "start": "2024-01-27 04:57:29.203523" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.269) 0:00:09.042 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:44 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.012) 0:00:09.054 ****** ok: [sut] => { "changed": false, "content": "ODgzNgo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:49 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.205) 0:00:09.260 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:54 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.010) 0:00:09.270 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:60 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.009) 0:00:09.279 ****** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.028) 0:00:09.307 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.012) 0:00:09.320 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.017) 0:00:09.338 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.010) 0:00:09.348 ****** 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 platform/version specific variables] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.011) 0:00:09.360 ****** 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 January 2024 04:57:29 +0000 (0:00:00.018) 0:00:09.378 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 27 January 2024 04:57:30 +0000 (0:00:00.976) 0:00:10.354 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:30 +0000 (0:00:00.012) 0:00:10.367 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057534", "end": "2024-01-27 04:57:30.857481", "rc": 0, "start": "2024-01-27 04:57:30.799947" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:30 +0000 (0:00:00.271) 0:00:10.638 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 27 January 2024 04:57:30 +0000 (0:00:00.011) 0:00:10.649 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1706331448.838335, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325521, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325522, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325523, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325524, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1706331446.0923386, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4325525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.216) 0:00:10.866 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.021) 0:00:10.887 ****** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291600, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291601, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291602, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291603, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.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": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291604, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291605, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1699616997.0, "ctime": 1705410395.994, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 6291606, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1699616997.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.212) 0:00:11.099 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.022) 0:00:11.121 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.011) 0:00:11.132 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.014) 0:00:11.147 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.011) 0:00:11.158 ****** included: /WORKDIR/git-weekly-cisdgbqrc2/.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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.012) 0:00:11.171 ****** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056991", "end": "2024-01-27 04:57:31.660669", "rc": 0, "start": "2024-01-27 04:57:31.603678" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.269) 0:00:11.441 ****** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:71 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.012) 0:00:11.453 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.003) 0:00:11.457 ****** 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-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.017) 0:00:11.475 ****** 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-cisdgbqrc2/tests/tests_reload.yml:73 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.017) 0:00:11.492 ****** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=67 changed=2 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0 Saturday 27 January 2024 04:57:31 +0000 (0:00:00.021) 0:00:11.513 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.10s /WORKDIR/git-weekly-cisdgbqrc2/.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 --- 1.00s /WORKDIR/git-weekly-cisdgbqrc2/.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.99s /WORKDIR/git-weekly-cisdgbqrc2/.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.98s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.81s /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:3 ----------------------- fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.39s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.35s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.33s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.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.27s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.27s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Get SSHD pid before policy update --------------------------------------- 0.26s /WORKDIR/git-weekly-cisdgbqrc2/tests/tests_reload.yml:12 ---------------------- fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.22s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.22s /WORKDIR/git-weekly-cisdgbqrc2/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---