# 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-ciptfy5rwz/.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-ciptfy5rwz/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:3 Saturday 09 December 2023 04:53:15 +0000 (0:00:00.012) 0:00:00.012 ***** ok: [sut] TASK [Run role to make sure all dependencies are installed] ******************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:8 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.789) 0:00:00.801 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.031) 0:00:00.833 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.024) 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.022) 0:00:00.880 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.258) 0:00:01.138 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.015) 0:00:01.154 ***** 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=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=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.4.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 09 December 2023 04:53:16 +0000 (0:00:00.041) 0:00:01.195 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 09 December 2023 04:53:17 +0000 (0:00:01.039) 0:00:02.234 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:17 +0000 (0:00:00.022) 0:00:02.257 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051193", "end": "2023-12-09 04:53:18.248875", "rc": 0, "start": "2023-12-09 04:53:18.197682" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.347) 0:00:02.605 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.016) 0:00:02.621 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1701935281.5511155, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567860, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567861, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567862, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567863, "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": 1701934771.222017, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567864, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.316) 0:00:02.937 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.064) 0:00:03.002 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353065, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353066, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353067, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353068, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353069, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353070, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353071, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.198) 0:00:03.200 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.041) 0:00:03.242 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.018) 0:00:03.260 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.011) 0:00:03.272 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.011) 0:00:03.283 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:18 +0000 (0:00:00.020) 0:00:03.304 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051556", "end": "2023-12-09 04:53:19.225640", "rc": 0, "start": "2023-12-09 04:53:19.174084" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.248) 0:00:03.552 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:12 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.017) 0:00:03.570 ***** ok: [sut] => { "changed": false, "content": "MTA3OAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:17 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.247) 0:00:03.818 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.038) 0:00:03.856 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.016) 0:00:03.872 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.053) 0:00:03.925 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.025) 0:00:03.951 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.016) 0:00:03.967 ***** 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=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=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.4.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 09 December 2023 04:53:19 +0000 (0:00:00.039) 0:00:04.007 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.769) 0:00:04.776 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.014) 0:00:04.790 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050901", "end": "2023-12-09 04:53:20.707914", "rc": 0, "start": "2023-12-09 04:53:20.657013" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.241) 0:00:05.031 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.011) 0:00:05.043 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1701935281.5511155, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567860, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567861, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567862, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567863, "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": 1701934771.222017, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567864, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.189) 0:00:05.232 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 09 December 2023 04:53:20 +0000 (0:00:00.036) 0:00:05.269 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353065, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353066, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353067, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353068, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353069, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353070, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353071, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.205) 0:00:05.474 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.036) 0:00:05.511 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.015) 0:00:05.527 ***** 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.121729", "end": "2023-12-09 04:53:21.533450", "rc": 0, "start": "2023-12-09 04:53:21.411721" } 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.345) 0:00:05.872 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.020) 0:00:05.892 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.024) 0:00:05.917 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050621", "end": "2023-12-09 04:53:21.844441", "rc": 0, "start": "2023-12-09 04:53:21.793820" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.249) 0:00:06.167 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:24 Saturday 09 December 2023 04:53:21 +0000 (0:00:00.020) 0:00:06.187 ***** ok: [sut] => { "changed": false, "content": "MTA3OAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:29 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.191) 0:00:06.379 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:33 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.010) 0:00:06.390 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:38 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.010) 0:00:06.400 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.024) 0:00:06.425 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.014) 0:00:06.439 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.019) 0:00:06.458 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.012) 0:00:06.471 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.014) 0:00:06.486 ***** 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=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=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.4.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.028) 0:00:06.514 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.765) 0:00:07.280 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:22 +0000 (0:00:00.012) 0:00:07.293 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050839", "end": "2023-12-09 04:53:23.206001", "rc": 0, "start": "2023-12-09 04:53:23.155162" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.236) 0:00:07.529 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.014) 0:00:07.544 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1701935281.5511155, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567860, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567861, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567862, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567863, "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": 1702097601.4591968, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567864, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.191) 0:00:07.735 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.021) 0:00:07.756 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353065, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353066, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353067, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353068, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353069, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353070, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353071, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.190) 0:00:07.947 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.022) 0:00:07.970 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 09 December 2023 04:53:23 +0000 (0:00:00.011) 0:00:07.981 ***** Notification for handler __crypto_policies_handler_modified has been saved. changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.153697", "end": "2023-12-09 04:53:24.001639", "rc": 0, "start": "2023-12-09 04:53:23.847942" } 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.344) 0:00:08.325 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.014) 0:00:08.340 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.015) 0:00:08.355 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051178", "end": "2023-12-09 04:53:24.282394", "rc": 0, "start": "2023-12-09 04:53:24.231216" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.251) 0:00:08.606 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:44 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.016) 0:00:08.623 ***** ok: [sut] => { "changed": false, "content": "NjMyNwo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:49 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.189) 0:00:08.812 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:54 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.013) 0:00:08.825 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:60 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.010) 0:00:08.836 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.029) 0:00:08.866 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.013) 0:00:08.879 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.019) 0:00:08.898 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.011) 0:00:08.910 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.011) 0:00:08.921 ***** 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=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=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.4.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_9.4.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 09 December 2023 04:53:24 +0000 (0:00:00.028) 0:00:08.950 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.777) 0:00:09.728 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.015) 0:00:09.743 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051419", "end": "2023-12-09 04:53:25.659387", "rc": 0, "start": "2023-12-09 04:53:25.607968" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.240) 0:00:09.983 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.012) 0:00:09.996 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1702097603.8941352, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567860, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567861, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567862, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567863, "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": 1702097601.4591968, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 8567864, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.196) 0:00:10.192 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 09 December 2023 04:53:25 +0000 (0:00:00.020) 0:00:10.213 ***** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1699616997.0, "ctime": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353065, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353066, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353067, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353068, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353069, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353070, "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": 1701920723.3620207, "dev": 51716, "gid": 0, "gr_name": "root", "inode": 17353071, "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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.188) 0:00:10.402 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.021) 0:00:10.423 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.011) 0:00:10.435 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.011) 0:00:10.446 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.012) 0:00:10.459 ***** included: /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.013) 0:00:10.473 ***** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050851", "end": "2023-12-09 04:53:26.386055", "rc": 0, "start": "2023-12-09 04:53:26.335204" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.236) 0:00:10.709 ***** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:71 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.019) 0:00:10.728 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.004) 0:00:10.732 ***** 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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.021) 0:00:10.753 ***** 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-ciptfy5rwz/tests/tests_reload.yml:73 Saturday 09 December 2023 04:53:26 +0000 (0:00:00.024) 0:00:10.778 ***** 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 09 December 2023 04:53:26 +0000 (0:00:00.025) 0:00:10.803 ***** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.04s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:3 ----------------------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.78s /WORKDIR/git-weekly-ciptfy5rwz/.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.77s /WORKDIR/git-weekly-ciptfy5rwz/.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.77s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.35s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.35s /WORKDIR/git-weekly-ciptfy5rwz/.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.34s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.32s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.26s /WORKDIR/git-weekly-ciptfy5rwz/.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.25s /WORKDIR/git-weekly-ciptfy5rwz/.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.25s /WORKDIR/git-weekly-ciptfy5rwz/.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.25s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Get SSHD pid before policy update --------------------------------------- 0.25s /WORKDIR/git-weekly-ciptfy5rwz/tests/tests_reload.yml:12 ---------------------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.24s /WORKDIR/git-weekly-ciptfy5rwz/.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-ciptfy5rwz/.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-ciptfy5rwz/.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-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.21s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.20s /WORKDIR/git-weekly-ciptfy5rwz/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---