# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.17.2] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.17/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-weekly-cigqxrds46/.collection executable location = /opt/ansible-2.17/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.17/bin/python) jinja version = 3.1.4 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:3 Saturday 03 August 2024 04:27:11 +0000 (0:00:00.032) 0:00:00.032 ******* ok: [sut] TASK [Run role to make sure all dependencies are installed] ******************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:8 Saturday 03 August 2024 04:27:12 +0000 (0:00:00.981) 0:00:01.014 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 03 August 2024 04:27:12 +0000 (0:00:00.025) 0:00:01.039 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 03 August 2024 04:27:12 +0000 (0:00:00.023) 0:00:01.063 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 03 August 2024 04:27:12 +0000 (0:00:00.021) 0:00:01.084 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 03 August 2024 04:27:13 +0000 (0:00:00.291) 0:00:01.375 ******* ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 03 August 2024 04:27:13 +0000 (0:00:00.041) 0:00:01.417 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 03 August 2024 04:27:13 +0000 (0:00:00.232) 0:00:01.650 ******* ok: [sut] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 03 August 2024 04:27:13 +0000 (0:00:00.030) 0:00:01.680 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 03 August 2024 04:27:13 +0000 (0:00:00.043) 0:00:01.724 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.973) 0:00:02.697 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.014) 0:00:02.712 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.014) 0:00:02.726 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.015) 0:00:02.742 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.018) 0:00:02.760 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053971", "end": "2024-08-03 04:27:14.828779", "rc": 0, "start": "2024-08-03 04:27:14.774808" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.307) 0:00:03.068 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 03 August 2024 04:27:14 +0000 (0:00:00.011) 0:00:03.079 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722499681.746, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.313) 0:00:03.392 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.017) 0:00:03.410 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.238) 0:00:03.649 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.039) 0:00:03.689 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.033) 0:00:03.722 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.041) 0:00:03.763 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.025) 0:00:03.789 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.020) 0:00:03.809 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054315", "end": "2024-08-03 04:27:15.844361", "rc": 0, "start": "2024-08-03 04:27:15.790046" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.286) 0:00:04.095 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:12 Saturday 03 August 2024 04:27:15 +0000 (0:00:00.028) 0:00:04.124 ******* ok: [sut] => { "changed": false, "content": "OTkwCg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:17 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.266) 0:00:04.390 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.027) 0:00:04.418 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.023) 0:00:04.442 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.017) 0:00:04.459 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.014) 0:00:04.474 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.013) 0:00:04.488 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.033) 0:00:04.522 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.015) 0:00:04.537 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 03 August 2024 04:27:16 +0000 (0:00:00.032) 0:00:04.569 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.898) 0:00:05.467 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.014) 0:00:05.482 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.028) 0:00:05.510 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.030) 0:00:05.540 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.030) 0:00:05.570 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053928", "end": "2024-08-03 04:27:17.604123", "rc": 0, "start": "2024-08-03 04:27:17.550195" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.276) 0:00:05.847 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.015) 0:00:05.862 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722499681.746, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.213) 0:00:06.076 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 03 August 2024 04:27:17 +0000 (0:00:00.023) 0:00:06.099 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.199) 0:00:06.299 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.018) 0:00:06.317 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.017) 0:00:06.335 ******* 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.121975", "end": "2024-08-03 04:27:18.427658", "rc": 0, "start": "2024-08-03 04:27:18.305683" } 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.333) 0:00:06.668 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.022) 0:00:06.691 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.029) 0:00:06.720 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.055370", "end": "2024-08-03 04:27:18.735937", "rc": 0, "start": "2024-08-03 04:27:18.680567" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.261) 0:00:06.981 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:24 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.016) 0:00:06.998 ******* ok: [sut] => { "changed": false, "content": "OTkwCg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:29 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.190) 0:00:07.188 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:33 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.011) 0:00:07.199 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:38 Saturday 03 August 2024 04:27:18 +0000 (0:00:00.010) 0:00:07.209 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.030) 0:00:07.240 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.023) 0:00:07.263 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.019) 0:00:07.283 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.020) 0:00:07.303 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.014) 0:00:07.318 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.018) 0:00:07.336 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.013) 0:00:07.349 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 03 August 2024 04:27:19 +0000 (0:00:00.020) 0:00:07.369 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.876) 0:00:08.245 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.015) 0:00:08.261 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.013) 0:00:08.275 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.014) 0:00:08.289 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.012) 0:00:08.301 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054282", "end": "2024-08-03 04:27:20.311915", "rc": 0, "start": "2024-08-03 04:27:20.257633" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.250) 0:00:08.552 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.012) 0:00:08.565 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722499681.746, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1722659238.3545353, "ctime": 1722499558.802, "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": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.201) 0:00:08.766 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.020) 0:00:08.786 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.198) 0:00:08.985 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.020) 0:00:09.005 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 03 August 2024 04:27:20 +0000 (0:00:00.011) 0:00:09.016 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.173171", "end": "2024-08-03 04:27:21.146795", "rc": 0, "start": "2024-08-03 04:27:20.973624" } 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.369) 0:00:09.386 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.015) 0:00:09.402 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.012) 0:00:09.414 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053435", "end": "2024-08-03 04:27:21.420716", "rc": 0, "start": "2024-08-03 04:27:21.367281" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.249) 0:00:09.664 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:44 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.015) 0:00:09.679 ******* ok: [sut] => { "changed": false, "content": "OTAwMAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:49 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.188) 0:00:09.868 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:54 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.013) 0:00:09.882 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:60 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.018) 0:00:09.901 ******* included: fedora.linux_system_roles.crypto_policies for sut TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.037) 0:00:09.938 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.014) 0:00:09.952 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.019) 0:00:09.972 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.015) 0:00:09.987 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.013) 0:00:10.000 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.013) 0:00:10.014 ******* skipping: [sut] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.013) 0:00:10.028 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 03 August 2024 04:27:21 +0000 (0:00:00.021) 0:00:10.050 ******* ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 03 August 2024 04:27:22 +0000 (0:00:00.866) 0:00:10.916 ******* skipping: [sut] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 03 August 2024 04:27:22 +0000 (0:00:00.015) 0:00:10.932 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 03 August 2024 04:27:22 +0000 (0:00:00.013) 0:00:10.946 ******* skipping: [sut] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 03 August 2024 04:27:22 +0000 (0:00:00.015) 0:00:10.961 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:22 +0000 (0:00:00.012) 0:00:10.974 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054624", "end": "2024-08-03 04:27:22.982487", "rc": 0, "start": "2024-08-03 04:27:22.927863" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.248) 0:00:11.222 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.013) 0:00:11.235 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1722659241.0214791, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "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": 1709321006.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": 1722659238.3545353, "ctime": 1722499558.802, "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": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.196) 0:00:11.432 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.019) 0:00:11.452 ******* ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 152, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 153, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 154, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 155, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 156, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 157, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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": 1709321006.0, "ctime": 1722499558.802, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 158, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1709321006.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.207) 0:00:11.660 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.018) 0:00:11.679 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.012) 0:00:11.691 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.012) 0:00:11.703 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.014) 0:00:11.718 ******* included: /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.014) 0:00:11.732 ******* ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054069", "end": "2024-08-03 04:27:23.740187", "rc": 0, "start": "2024-08-03 04:27:23.686118" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.247) 0:00:11.979 ******* ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:71 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.013) 0:00:11.993 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.004) 0:00:11.997 ******* 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-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.014) 0:00:12.012 ******* 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-cigqxrds46/tests/tests_reload.yml:73 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.013) 0:00:12.026 ******* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=73 changed=2 unreachable=0 failed=0 skipped=38 rescued=0 ignored=0 Saturday 03 August 2024 04:27:23 +0000 (0:00:00.018) 0:00:12.044 ******* =============================================================================== Gathering Facts --------------------------------------------------------- 0.98s /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:3 ----------------------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 0.97s /WORKDIR/git-weekly-cigqxrds46/.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.90s /WORKDIR/git-weekly-cigqxrds46/.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.88s /WORKDIR/git-weekly-cigqxrds46/.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.87s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.37s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.33s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.31s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.31s /WORKDIR/git-weekly-cigqxrds46/.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.29s /WORKDIR/git-weekly-cigqxrds46/.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.29s /WORKDIR/git-weekly-cigqxrds46/.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.28s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Get SSHD pid before policy update --------------------------------------- 0.27s /WORKDIR/git-weekly-cigqxrds46/tests/tests_reload.yml:12 ---------------------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.26s /WORKDIR/git-weekly-cigqxrds46/.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-cigqxrds46/.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-cigqxrds46/.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-cigqxrds46/.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-cigqxrds46/.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.24s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin --- 0.23s /WORKDIR/git-weekly-cigqxrds46/.collection/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Platform linux on host sut is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ---^---^---^---^---^---