# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:3 Monday 01 July 2024 13:51:17 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:8 Monday 01 July 2024 13:51:18 +0000 (0:00:00.695) 0:00:00.708 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 01 July 2024 13:51:18 +0000 (0:00:00.018) 0:00:00.726 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 01 July 2024 13:51:18 +0000 (0:00:00.012) 0:00:00.738 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 01 July 2024 13:51:18 +0000 (0:00:00.018) 0:00:00.756 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 01 July 2024 13:51:18 +0000 (0:00:00.252) 0:00:01.009 *********** ok: [sut] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Monday 01 July 2024 13:51:18 +0000 (0:00:00.020) 0:00:01.029 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 01 July 2024 13:51:18 +0000 (0:00:00.028) 0:00:01.057 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Monday 01 July 2024 13:51:19 +0000 (0:00:00.975) 0:00:02.032 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:19 +0000 (0:00:00.012) 0:00:02.045 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051535", "end": "2024-07-01 13:51:19.605460", "rc": 0, "start": "2024-07-01 13:51:19.553925" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:19 +0000 (0:00:00.279) 0:00:02.325 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Monday 01 July 2024 13:51:19 +0000 (0:00:00.018) 0:00:02.344 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1718879270.053, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 01 July 2024 13:51:19 +0000 (0:00:00.229) 0:00:02.574 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "FIPS", "EMPTY", "LEGACY", "FUTURE" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Monday 01 July 2024 13:51:19 +0000 (0:00:00.020) 0:00:02.594 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Monday 01 July 2024 13:51:20 +0000 (0:00:00.181) 0:00:02.776 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Monday 01 July 2024 13:51:20 +0000 (0:00:00.019) 0:00:02.795 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:02.813 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Monday 01 July 2024 13:51:20 +0000 (0:00:00.017) 0:00:02.830 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Monday 01 July 2024 13:51:20 +0000 (0:00:00.017) 0:00:02.847 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:20 +0000 (0:00:00.012) 0:00:02.860 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051480", "end": "2024-07-01 13:51:20.372066", "rc": 0, "start": "2024-07-01 13:51:20.320586" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:20 +0000 (0:00:00.230) 0:00:03.090 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:12 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:03.109 *********** ok: [sut] => { "changed": false, "content": "ODM5Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:17 Monday 01 July 2024 13:51:20 +0000 (0:00:00.238) 0:00:03.347 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:03.365 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 01 July 2024 13:51:20 +0000 (0:00:00.011) 0:00:03.377 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:03.395 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:03.413 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Monday 01 July 2024 13:51:20 +0000 (0:00:00.018) 0:00:03.432 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 01 July 2024 13:51:20 +0000 (0:00:00.028) 0:00:03.461 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Monday 01 July 2024 13:51:21 +0000 (0:00:00.914) 0:00:04.376 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:21 +0000 (0:00:00.013) 0:00:04.389 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052267", "end": "2024-07-01 13:51:21.904656", "rc": 0, "start": "2024-07-01 13:51:21.852389" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:21 +0000 (0:00:00.233) 0:00:04.623 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Monday 01 July 2024 13:51:21 +0000 (0:00:00.018) 0:00:04.641 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1718879270.053, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 01 July 2024 13:51:22 +0000 (0:00:00.182) 0:00:04.824 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "FIPS", "EMPTY", "LEGACY", "FUTURE" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Monday 01 July 2024 13:51:22 +0000 (0:00:00.019) 0:00:04.844 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Monday 01 July 2024 13:51:22 +0000 (0:00:00.185) 0:00:05.029 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Monday 01 July 2024 13:51:22 +0000 (0:00:00.022) 0:00:05.051 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Monday 01 July 2024 13:51:22 +0000 (0:00:00.019) 0:00:05.071 *********** NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.241120", "end": "2024-07-01 13:51:22.785486", "rc": 0, "start": "2024-07-01 13:51:22.544366" } 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 [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Monday 01 July 2024 13:51:22 +0000 (0:00:00.432) 0:00:05.503 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Monday 01 July 2024 13:51:22 +0000 (0:00:00.020) 0:00:05.524 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:22 +0000 (0:00:00.012) 0:00:05.536 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052207", "end": "2024-07-01 13:51:23.051419", "rc": 0, "start": "2024-07-01 13:51:22.999212" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:23 +0000 (0:00:00.235) 0:00:05.772 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:24 Monday 01 July 2024 13:51:23 +0000 (0:00:00.018) 0:00:05.790 *********** ok: [sut] => { "changed": false, "content": "ODM5Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:29 Monday 01 July 2024 13:51:23 +0000 (0:00:00.174) 0:00:05.964 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:33 Monday 01 July 2024 13:51:23 +0000 (0:00:00.021) 0:00:05.986 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:38 Monday 01 July 2024 13:51:23 +0000 (0:00:00.019) 0:00:06.005 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 01 July 2024 13:51:23 +0000 (0:00:00.021) 0:00:06.027 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 01 July 2024 13:51:23 +0000 (0:00:00.013) 0:00:06.041 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 01 July 2024 13:51:23 +0000 (0:00:00.018) 0:00:06.059 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 01 July 2024 13:51:23 +0000 (0:00:00.018) 0:00:06.078 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Monday 01 July 2024 13:51:23 +0000 (0:00:00.017) 0:00:06.096 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 01 July 2024 13:51:23 +0000 (0:00:00.029) 0:00:06.125 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Monday 01 July 2024 13:51:24 +0000 (0:00:00.907) 0:00:07.033 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:24 +0000 (0:00:00.011) 0:00:07.045 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052471", "end": "2024-07-01 13:51:24.559435", "rc": 0, "start": "2024-07-01 13:51:24.506964" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:24 +0000 (0:00:00.233) 0:00:07.278 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Monday 01 July 2024 13:51:24 +0000 (0:00:00.018) 0:00:07.297 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1718879270.053, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1719841882.6651437, "ctime": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 01 July 2024 13:51:24 +0000 (0:00:00.185) 0:00:07.482 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "FIPS", "EMPTY", "LEGACY", "FUTURE" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Monday 01 July 2024 13:51:24 +0000 (0:00:00.019) 0:00:07.502 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Monday 01 July 2024 13:51:24 +0000 (0:00:00.185) 0:00:07.687 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Monday 01 July 2024 13:51:25 +0000 (0:00:00.020) 0:00:07.708 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Monday 01 July 2024 13:51:25 +0000 (0:00:00.017) 0:00:07.726 *********** NOTIFIED HANDLER linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes for sut NOTIFIED HANDLER linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag for sut changed: [sut] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.164671", "end": "2024-07-01 13:51:25.365667", "rc": 0, "start": "2024-07-01 13:51:25.200996" } 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 [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Monday 01 July 2024 13:51:25 +0000 (0:00:00.358) 0:00:08.084 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Monday 01 July 2024 13:51:25 +0000 (0:00:00.020) 0:00:08.104 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:25 +0000 (0:00:00.012) 0:00:08.117 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053180", "end": "2024-07-01 13:51:25.636181", "rc": 0, "start": "2024-07-01 13:51:25.583001" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:25 +0000 (0:00:00.237) 0:00:08.354 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:44 Monday 01 July 2024 13:51:25 +0000 (0:00:00.018) 0:00:08.373 *********** ok: [sut] => { "changed": false, "content": "MTAwMTkK", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:49 Monday 01 July 2024 13:51:25 +0000 (0:00:00.177) 0:00:08.551 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:54 Monday 01 July 2024 13:51:25 +0000 (0:00:00.019) 0:00:08.570 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:60 Monday 01 July 2024 13:51:25 +0000 (0:00:00.018) 0:00:08.588 *********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Monday 01 July 2024 13:51:25 +0000 (0:00:00.019) 0:00:08.607 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for sut TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Monday 01 July 2024 13:51:25 +0000 (0:00:00.011) 0:00:08.619 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Check if system is ostree] ********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Monday 01 July 2024 13:51:25 +0000 (0:00:00.018) 0:00:08.637 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:16 Monday 01 July 2024 13:51:25 +0000 (0:00:00.017) 0:00:08.654 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:20 Monday 01 July 2024 13:51:25 +0000 (0:00:00.016) 0:00:08.671 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Monday 01 July 2024 13:51:26 +0000 (0:00:00.029) 0:00:08.701 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : Gather facts] *********************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Monday 01 July 2024 13:51:26 +0000 (0:00:00.921) 0:00:09.623 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:26 +0000 (0:00:00.012) 0:00:09.635 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051652", "end": "2024-07-01 13:51:27.148410", "rc": 0, "start": "2024-07-01 13:51:27.096758" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:27 +0000 (0:00:00.231) 0:00:09.867 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 Monday 01 July 2024 13:51:27 +0000 (0:00:00.018) 0:00:09.885 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1719841885.2470345, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1719841882.6651437, "ctime": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:24 Monday 01 July 2024 13:51:27 +0000 (0:00:00.181) 0:00:10.066 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "FIPS", "EMPTY", "LEGACY", "FUTURE" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 Monday 01 July 2024 13:51:27 +0000 (0:00:00.020) 0:00:10.087 *********** ok: [sut] => { "changed": false, "examined": 7, "files": [ { "atime": 1709321006.0, "ctime": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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": 1718879131.854, "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 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:39 Monday 01 July 2024 13:51:27 +0000 (0:00:00.180) 0:00:10.268 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:46 Monday 01 July 2024 13:51:27 +0000 (0:00:00.020) 0:00:10.288 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "NO-SHA1", "OSPP", "SHA1", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 Monday 01 July 2024 13:51:27 +0000 (0:00:00.018) 0:00:10.307 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:64 Monday 01 July 2024 13:51:27 +0000 (0:00:00.017) 0:00:10.324 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Update facts after applying policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:72 Monday 01 July 2024 13:51:27 +0000 (0:00:00.017) 0:00:10.341 *********** included: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for sut TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Monday 01 July 2024 13:51:27 +0000 (0:00:00.012) 0:00:10.353 *********** ok: [sut] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051251", "end": "2024-07-01 13:51:27.864899", "rc": 0, "start": "2024-07-01 13:51:27.813648" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Monday 01 July 2024 13:51:27 +0000 (0:00:00.230) 0:00:10.583 *********** ok: [sut] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 01 July 2024 13:51:27 +0000 (0:00:00.017) 0:00:10.601 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 01 July 2024 13:51:27 +0000 (0:00:00.022) 0:00:10.624 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 01 July 2024 13:51:27 +0000 (0:00:00.018) 0:00:10.642 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 01 July 2024 13:51:27 +0000 (0:00:00.019) 0:00:10.662 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Monday 01 July 2024 13:51:27 +0000 (0:00:00.019) 0:00:10.682 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Monday 01 July 2024 13:51:28 +0000 (0:00:00.018) 0:00:10.700 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:73 Monday 01 July 2024 13:51:28 +0000 (0:00:00.022) 0:00:10.722 *********** ok: [sut] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=67 changed=2 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0 Monday 01 July 2024 13:51:28 +0000 (0:00:00.019) 0:00:10.742 *********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.83s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.98s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.91s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.70s /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:3 -------------------- linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.43s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.38s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:52 linux-system-roles.crypto_policies : Find base policies files ----------- 0.37s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.37s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.28s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Check if system is ostree ---------- 0.25s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:11 Get SSHD pid before policy update --------------------------------------- 0.24s /WORKDIR/git-el10_supportmg7wfwao/tests/tests_reload.yml:12 ------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.24s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.24s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.23s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:16 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.19s /WORKDIR/git-el10_supportmg7wfwao/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:31 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---