ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:47:31 +0000 (0:00:00.023) 0:00:00.023 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:47:32 +0000 (0:00:01.300) 0:00:01.323 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.30s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:47:32 +0000 (0:00:00.021) 0:00:01.345 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:47:32 +0000 (0:00:00.017) 0:00:01.362 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:47:33 +0000 (0:00:01.060) 0:00:02.423 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:47:33 +0000 (0:00:00.059) 0:00:02.482 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:47:37 +0000 (0:00:03.509) 0:00:05.992 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:47:37 +0000 (0:00:00.028) 0:00:06.021 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053073", "end": "2022-05-05 00:47:37.004771", "rc": 0, "start": "2022-05-05 00:47:36.951698" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:47:37 +0000 (0:00:00.543) 0:00:06.564 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:47:38 +0000 (0:00:00.040) 0:00:06.605 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:47:38 +0000 (0:00:00.484) 0:00:07.089 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:47:38 +0000 (0:00:00.043) 0:00:07.133 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:47:38 +0000 (0:00:00.362) 0:00:07.495 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:47:38 +0000 (0:00:00.044) 0:00:07.540 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.042) 0:00:07.582 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.034) 0:00:07.617 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.039) 0:00:07.656 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.020) 0:00:07.677 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046074", "end": "2022-05-05 00:47:38.505210", "rc": 0, "start": "2022-05-05 00:47:38.459136" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.387) 0:00:08.065 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: ran handlers TASK [Check the current policy is DEFAULT and common variables] **************** task path: /tmp/tmp41oh1zsl/tests/tests_default.yml:13 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.039) 0:00:08.104 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=16 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 05 May 2022 04:47:39 +0000 (0:00:00.048) 0:00:08.152 ********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.51s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 set up internal repositories -------------------------------------------- 1.30s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 1.06s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.54s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.48s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.39s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.36s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Check the current policy is DEFAULT and common variables ---------------- 0.05s /tmp/tmp41oh1zsl/tests/tests_default.yml:13 ----------------------------------- linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set available base policies fact --- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.02s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.02s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:47:53 +0000 (0:00:00.022) 0:00:00.022 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:47:54 +0000 (0:00:01.338) 0:00:01.360 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_include_vars_from_parent.yml:1 Thursday 05 May 2022 04:47:54 +0000 (0:00:00.011) 0:00:01.372 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp41oh1zsl/tests/tests_include_vars_from_parent.yml:3 Thursday 05 May 2022 04:47:56 +0000 (0:00:01.305) 0:00:02.678 ********** changed: [/cache/rhel-x.qcow2 -> localhost] => (item=RedHat-9.1) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp41oh1zsl/tests/roles/caller/vars/RedHat-9.1.yml", "gid": 0, "group": "root", "item": "RedHat-9.1", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651726076.21-140898-11354108699507/source", "state": "file", "uid": 0 } changed: [/cache/rhel-x.qcow2 -> localhost] => (item=RedHat-9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp41oh1zsl/tests/roles/caller/vars/RedHat-9.yml", "gid": 0, "group": "root", "item": "RedHat-9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651726076.72-140898-150579323524358/source", "state": "file", "uid": 0 } changed: [/cache/rhel-x.qcow2 -> localhost] => (item=RedHat_9.1) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp41oh1zsl/tests/roles/caller/vars/RedHat_9.1.yml", "gid": 0, "group": "root", "item": "RedHat_9.1", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651726077.01-140898-259396260305326/source", "state": "file", "uid": 0 } changed: [/cache/rhel-x.qcow2 -> localhost] => (item=RedHat_9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp41oh1zsl/tests/roles/caller/vars/RedHat_9.yml", "gid": 0, "group": "root", "item": "RedHat_9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651726077.29-140898-44030655171730/source", "state": "file", "uid": 0 } changed: [/cache/rhel-x.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp41oh1zsl/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1651726077.58-140898-107265697188497/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp41oh1zsl/tests/roles/caller/tasks/main.yml:4 Thursday 05 May 2022 04:47:57 +0000 (0:00:01.697) 0:00:04.375 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:47:57 +0000 (0:00:00.041) 0:00:04.417 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:47:57 +0000 (0:00:00.037) 0:00:04.455 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:47:58 +0000 (0:00:00.658) 0:00:05.113 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:47:58 +0000 (0:00:00.043) 0:00:05.157 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:48:01 +0000 (0:00:03.241) 0:00:08.398 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:01 +0000 (0:00:00.031) 0:00:08.430 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053512", "end": "2022-05-05 00:48:01.685763", "rc": 0, "start": "2022-05-05 00:48:01.632251" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:02 +0000 (0:00:00.541) 0:00:08.972 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:48:02 +0000 (0:00:00.022) 0:00:08.994 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:48:02 +0000 (0:00:00.502) 0:00:09.496 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.027) 0:00:09.523 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.356) 0:00:09.879 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.026) 0:00:09.906 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.028) 0:00:09.935 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.021) 0:00:09.957 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.021) 0:00:09.978 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.032) 0:00:10.010 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045437", "end": "2022-05-05 00:48:03.123002", "rc": 0, "start": "2022-05-05 00:48:03.077565" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.399) 0:00:10.410 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [caller : assert] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/roles/caller/tasks/main.yml:7 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.025) 0:00:10.436 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=18 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 05 May 2022 04:48:03 +0000 (0:00:00.017) 0:00:10.453 ********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.24s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 create var file in caller that can override the one in called role ------ 1.70s /tmp/tmp41oh1zsl/tests/tests_include_vars_from_parent.yml:3 ------------------- set up internal repositories -------------------------------------------- 1.34s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.31s /tmp/tmp41oh1zsl/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.66s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.54s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.50s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.40s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.36s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.04s /tmp/tmp41oh1zsl/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 linux-system-roles.crypto_policies : Set available base policies fact --- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.02s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.02s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:48:18 +0000 (0:00:00.022) 0:00:00.022 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:48:19 +0000 (0:00:01.319) 0:00:01.342 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.32s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:3 Thursday 05 May 2022 04:48:20 +0000 (0:00:00.008) 0:00:01.350 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:6 Thursday 05 May 2022 04:48:21 +0000 (0:00:01.022) 0:00:02.373 ********** ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Save current package facts] ********************************************** task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:10 Thursday 05 May 2022 04:48:22 +0000 (0:00:01.100) 0:00:03.474 ********** ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Include role] ************************************************************ task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:15 Thursday 05 May 2022 04:48:22 +0000 (0:00:00.222) 0:00:03.696 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:48:22 +0000 (0:00:00.104) 0:00:03.801 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:48:22 +0000 (0:00:00.090) 0:00:03.891 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:48:23 +0000 (0:00:00.661) 0:00:04.552 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:48:23 +0000 (0:00:00.128) 0:00:04.681 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:48:26 +0000 (0:00:03.279) 0:00:07.961 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:26 +0000 (0:00:00.088) 0:00:08.049 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053039", "end": "2022-05-05 00:48:26.165031", "rc": 0, "start": "2022-05-05 00:48:26.111992" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:27 +0000 (0:00:00.581) 0:00:08.631 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:48:27 +0000 (0:00:00.118) 0:00:08.749 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:48:27 +0000 (0:00:00.499) 0:00:09.248 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:48:27 +0000 (0:00:00.077) 0:00:09.326 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.426) 0:00:09.752 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.077) 0:00:09.830 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.074) 0:00:09.904 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.073) 0:00:09.978 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.070) 0:00:10.049 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:28 +0000 (0:00:00.090) 0:00:10.139 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046295", "end": "2022-05-05 00:48:28.111499", "rc": 0, "start": "2022-05-05 00:48:28.065204" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:29 +0000 (0:00:00.434) 0:00:10.574 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Refresh package facts] *************************************************** task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:19 Thursday 05 May 2022 04:48:29 +0000 (0:00:00.075) 0:00:10.649 ********** ok: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify packages were not changed] **************************************** task path: /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:23 Thursday 05 May 2022 04:48:30 +0000 (0:00:00.890) 0:00:11.540 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=20 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 05 May 2022 04:48:30 +0000 (0:00:00.059) 0:00:11.600 ********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.28s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 set up internal repositories -------------------------------------------- 1.32s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- Get package facts ------------------------------------------------------- 1.10s /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:6 -------------------------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:3 -------------------------- Refresh package facts --------------------------------------------------- 0.89s /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:19 ------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.66s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.58s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.50s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.43s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.22s /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:10 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.13s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.12s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Include role ------------------------------------------------------------ 0.10s /tmp/tmp41oh1zsl/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.09s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.09s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.09s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.08s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set available base policies fact --- 0.08s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.08s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:48:47 +0000 (0:00:00.023) 0:00:00.023 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:48:49 +0000 (0:00:01.352) 0:00:01.375 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_reboot.yml ***************************************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_reboot.yml:3 Thursday 05 May 2022 04:48:49 +0000 (0:00:00.022) 0:00:01.398 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:48:50 +0000 (0:00:00.991) 0:00:02.390 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:48:50 +0000 (0:00:00.028) 0:00:02.419 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:48:50 +0000 (0:00:00.574) 0:00:02.993 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:48:50 +0000 (0:00:00.065) 0:00:03.059 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:48:54 +0000 (0:00:03.297) 0:00:06.357 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:54 +0000 (0:00:00.031) 0:00:06.389 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.060472", "end": "2022-05-05 00:48:54.207597", "rc": 0, "start": "2022-05-05 00:48:54.147125" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:54 +0000 (0:00:00.578) 0:00:06.968 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:48:54 +0000 (0:00:00.047) 0:00:07.015 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:48:55 +0000 (0:00:00.504) 0:00:07.519 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:48:55 +0000 (0:00:00.046) 0:00:07.566 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:48:55 +0000 (0:00:00.372) 0:00:07.939 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:48:55 +0000 (0:00:00.045) 0:00:07.985 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:48:55 +0000 (0:00:00.045) 0:00:08.030 ********** NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "FUTURE" ], "delta": "0:00:00.136272", "end": "2022-05-05 00:48:55.815831", "rc": 0, "start": "2022-05-05 00:48:55.679559" } STDOUT: Setting system policy to FUTURE 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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:48:56 +0000 (0:00:00.545) 0:00:08.575 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:48:56 +0000 (0:00:00.045) 0:00:08.621 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:48:56 +0000 (0:00:00.027) 0:00:08.649 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046747", "end": "2022-05-05 00:48:56.296759", "rc": 0, "start": "2022-05-05 00:48:56.250012" } STDOUT: FUTURE TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:48:56 +0000 (0:00:00.405) 0:00:09.055 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "FUTURE" }, "changed": false } RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:48:56 +0000 (0:00:00.036) 0:00:09.091 ********** changed: [/cache/rhel-x.qcow2] => { "changed": true, "elapsed": 16, "rebooted": true } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:49:13 +0000 (0:00:16.878) 0:00:25.970 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } META: ran handlers TASK [Check the current policy is FUTURE] ************************************** task path: /tmp/tmp41oh1zsl/tests/tests_reboot.yml:18 Thursday 05 May 2022 04:49:13 +0000 (0:00:00.055) 0:00:26.026 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=21 changed=3 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Thursday 05 May 2022 04:49:13 +0000 (0:00:00.039) 0:00:26.065 ********** =============================================================================== linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes -- 16.88s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.30s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 set up internal repositories -------------------------------------------- 1.35s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmp41oh1zsl/tests/tests_reboot.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.58s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.57s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.55s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find base policies files ----------- 0.50s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.41s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.37s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag --- 0.06s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.05s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.05s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.05s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.05s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Check the current policy is FUTURE -------------------------------------- 0.04s /tmp/tmp41oh1zsl/tests/tests_reboot.yml:18 ------------------------------------ linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:49:29 +0000 (0:00:00.023) 0:00:00.023 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:49:31 +0000 (0:00:01.353) 0:00:01.377 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.35s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:3 Thursday 05 May 2022 04:49:31 +0000 (0:00:00.011) 0:00:01.389 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:7 Thursday 05 May 2022 04:49:32 +0000 (0:00:00.971) 0:00:02.360 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:49:32 +0000 (0:00:00.038) 0:00:02.398 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:49:32 +0000 (0:00:00.027) 0:00:02.426 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:49:32 +0000 (0:00:00.524) 0:00:02.950 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:49:32 +0000 (0:00:00.066) 0:00:03.017 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:49:36 +0000 (0:00:03.199) 0:00:06.216 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:36 +0000 (0:00:00.033) 0:00:06.250 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053328", "end": "2022-05-05 00:49:35.766073", "rc": 0, "start": "2022-05-05 00:49:35.712745" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:36 +0000 (0:00:00.551) 0:00:06.801 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:49:36 +0000 (0:00:00.045) 0:00:06.846 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.497) 0:00:07.344 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.049) 0:00:07.393 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.376) 0:00:07.770 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.045) 0:00:07.816 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.041) 0:00:07.858 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.039) 0:00:07.898 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.037) 0:00:07.935 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:37 +0000 (0:00:00.028) 0:00:07.964 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048339", "end": "2022-05-05 00:49:37.326443", "rc": 0, "start": "2022-05-05 00:49:37.278104" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:38 +0000 (0:00:00.398) 0:00:08.363 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:11 Thursday 05 May 2022 04:49:38 +0000 (0:00:00.064) 0:00:08.427 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "content": "MTMxMAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:16 Thursday 05 May 2022 04:49:38 +0000 (0:00:00.484) 0:00:08.911 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:49:38 +0000 (0:00:00.079) 0:00:08.991 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:49:38 +0000 (0:00:00.045) 0:00:09.037 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:49:39 +0000 (0:00:00.524) 0:00:09.561 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:49:39 +0000 (0:00:00.068) 0:00:09.629 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:49:40 +0000 (0:00:00.851) 0:00:10.482 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:40 +0000 (0:00:00.029) 0:00:10.511 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053182", "end": "2022-05-05 00:49:39.905112", "rc": 0, "start": "2022-05-05 00:49:39.851930" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:40 +0000 (0:00:00.432) 0:00:10.943 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:49:40 +0000 (0:00:00.041) 0:00:10.985 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:49:41 +0000 (0:00:00.358) 0:00:11.343 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:49:41 +0000 (0:00:00.046) 0:00:11.390 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:49:41 +0000 (0:00:00.371) 0:00:11.762 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:49:41 +0000 (0:00:00.044) 0:00:11.806 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:49:41 +0000 (0:00:00.041) 0:00:11.848 ********** NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.102504", "end": "2022-05-05 00:49:41.298616", "rc": 0, "start": "2022-05-05 00:49:41.196112" } 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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:49:42 +0000 (0:00:00.493) 0:00:12.342 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:49:42 +0000 (0:00:00.045) 0:00:12.387 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:42 +0000 (0:00:00.030) 0:00:12.417 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047002", "end": "2022-05-05 00:49:41.794623", "rc": 0, "start": "2022-05-05 00:49:41.747621" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:42 +0000 (0:00:00.411) 0:00:12.829 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:23 Thursday 05 May 2022 04:49:42 +0000 (0:00:00.040) 0:00:12.870 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "content": "MTMxMAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:28 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.342) 0:00:13.213 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:32 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.045) 0:00:13.259 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:37 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.044) 0:00:13.304 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.052) 0:00:13.356 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.030) 0:00:13.387 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.574) 0:00:13.962 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:49:43 +0000 (0:00:00.067) 0:00:14.029 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:49:44 +0000 (0:00:00.876) 0:00:14.905 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:44 +0000 (0:00:00.028) 0:00:14.934 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046453", "end": "2022-05-05 00:49:44.293059", "rc": 0, "start": "2022-05-05 00:49:44.246606" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:45 +0000 (0:00:00.394) 0:00:15.329 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:49:45 +0000 (0:00:00.042) 0:00:15.371 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651726181.2411191, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:49:45 +0000 (0:00:00.364) 0:00:15.736 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:49:45 +0000 (0:00:00.044) 0:00:15.780 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.369) 0:00:16.150 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.046) 0:00:16.196 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.042) 0:00:16.238 ********** NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.145280", "end": "2022-05-05 00:49:45.729353", "rc": 0, "start": "2022-05-05 00:49:45.584073" } 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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.528) 0:00:16.766 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.048) 0:00:16.815 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:49:46 +0000 (0:00:00.030) 0:00:16.845 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047632", "end": "2022-05-05 00:49:46.213499", "rc": 0, "start": "2022-05-05 00:49:46.165867" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.404) 0:00:17.250 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:43 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.044) 0:00:17.294 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "content": "NTk3NQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:48 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.351) 0:00:17.645 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmp41oh1zsl/tests/tests_reload.yml:53 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.046) 0:00:17.692 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.037) 0:00:17.730 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.047) 0:00:17.777 ********** skipping: [/cache/rhel-x.qcow2] => { "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.052) 0:00:17.830 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.046) 0:00:17.876 ********** skipping: [/cache/rhel-x.qcow2] => { "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.045) 0:00:17.921 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.043) 0:00:17.964 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=55 changed=3 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Thursday 05 May 2022 04:49:47 +0000 (0:00:00.044) 0:00:18.009 ********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.20s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 set up internal repositories -------------------------------------------- 1.35s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmp41oh1zsl/tests/tests_reload.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.88s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.85s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.57s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.55s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.53s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.50s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.49s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Get SSHD pid before policy update --------------------------------------- 0.48s /tmp/tmp41oh1zsl/tests/tests_reload.yml:11 ------------------------------------ linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmp41oh1zsl/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.41s /tmp/tmp41oh1zsl/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.40s /tmp/tmp41oh1zsl/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.40s /tmp/tmp41oh1zsl/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.39s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.37s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Aug 13 2020, 02:51:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] Using /etc/ansible/ansible.cfg as config file [ERROR]: GNU xorriso 1.4.8 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Local character set is now assumed as: 'utf-8' 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: rhel-x_setup.yml ***************************************************** 1 plays in /cache/rhel-x_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-x_setup.yml:6 Thursday 05 May 2022 04:50:03 +0000 (0:00:00.022) 0:00:00.022 ********** changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-x.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 05 May 2022 04:50:04 +0000 (0:00:01.383) 0:00:01.406 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.38s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- PLAYBOOK: tests_update.yml ***************************************************** 1 plays in /tmp/tmp41oh1zsl/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:3 Thursday 05 May 2022 04:50:04 +0000 (0:00:00.013) 0:00:01.420 ********** ok: [/cache/rhel-x.qcow2] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:7 Thursday 05 May 2022 04:50:05 +0000 (0:00:01.013) 0:00:02.433 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:50:05 +0000 (0:00:00.037) 0:00:02.470 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:50:05 +0000 (0:00:00.029) 0:00:02.500 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:50:06 +0000 (0:00:00.522) 0:00:03.023 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:50:06 +0000 (0:00:00.065) 0:00:03.088 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:50:09 +0000 (0:00:03.203) 0:00:06.292 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:09 +0000 (0:00:00.034) 0:00:06.326 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052879", "end": "2022-05-05 00:50:09.931995", "rc": 0, "start": "2022-05-05 00:50:09.879116" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:10 +0000 (0:00:00.551) 0:00:06.878 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:50:10 +0000 (0:00:00.047) 0:00:06.925 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:50:10 +0000 (0:00:00.530) 0:00:07.455 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:50:10 +0000 (0:00:00.052) 0:00:07.508 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.374) 0:00:07.883 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.048) 0:00:07.932 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.044) 0:00:07.977 ********** NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.102071", "end": "2022-05-05 00:50:11.529541", "rc": 0, "start": "2022-05-05 00:50:11.427470" } 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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.497) 0:00:08.474 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.047) 0:00:08.522 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:11 +0000 (0:00:00.040) 0:00:08.562 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046195", "end": "2022-05-05 00:50:12.026286", "rc": 0, "start": "2022-05-05 00:50:11.980091" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.406) 0:00:08.969 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:13 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.047) 0:00:09.016 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:19 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.047) 0:00:09.063 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.043) 0:00:09.107 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.029) 0:00:09.136 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.531) 0:00:09.668 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:50:12 +0000 (0:00:00.066) 0:00:09.735 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:50:13 +0000 (0:00:00.928) 0:00:10.663 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:13 +0000 (0:00:00.030) 0:00:10.694 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046708", "end": "2022-05-05 00:50:14.159780", "rc": 0, "start": "2022-05-05 00:50:14.113072" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:14 +0000 (0:00:00.411) 0:00:11.106 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:50:14 +0000 (0:00:00.047) 0:00:11.154 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651366310.509085, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651726211.4709954, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:50:14 +0000 (0:00:00.378) 0:00:11.532 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:50:14 +0000 (0:00:00.047) 0:00:11.579 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.387) 0:00:11.967 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.046) 0:00:12.013 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.045) 0:00:12.058 ********** NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/rhel-x.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/rhel-x.qcow2 changed: [/cache/rhel-x.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.109346", "end": "2022-05-05 00:50:15.632795", "rc": 0, "start": "2022-05-05 00:50:15.523449" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.564) 0:00:12.623 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.046) 0:00:12.670 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:15 +0000 (0:00:00.030) 0:00:12.700 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.047744", "end": "2022-05-05 00:50:16.169399", "rc": 0, "start": "2022-05-05 00:50:16.121655" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:16 +0000 (0:00:00.414) 0:00:13.114 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:25 Thursday 05 May 2022 04:50:16 +0000 (0:00:00.042) 0:00:13.157 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:33 Thursday 05 May 2022 04:50:16 +0000 (0:00:00.044) 0:00:13.201 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:50:16 +0000 (0:00:00.035) 0:00:13.236 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:50:16 +0000 (0:00:00.029) 0:00:13.266 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:50:17 +0000 (0:00:00.538) 0:00:13.804 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:50:17 +0000 (0:00:00.067) 0:00:13.872 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.908) 0:00:14.781 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.032) 0:00:14.813 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050384", "end": "2022-05-05 00:50:18.289722", "rc": 0, "start": "2022-05-05 00:50:18.239338" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.429) 0:00:15.243 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.051) 0:00:15.294 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651726215.5669956, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651726211.4709954, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.371) 0:00:15.666 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:50:18 +0000 (0:00:00.048) 0:00:15.714 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1651726215.5809956, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.386) 0:00:16.100 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.050) 0:00:16.151 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.059) 0:00:16.210 ********** fatal: [/cache/rhel-x.qcow2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.048931", "end": "2022-05-05 00:50:19.732015", "rc": 1, "start": "2022-05-05 00:50:19.683084" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:43 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.466) 0:00:16.677 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:52 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.048) 0:00:16.726 ********** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 05 May 2022 04:50:19 +0000 (0:00:00.039) 0:00:16.766 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 05 May 2022 04:50:20 +0000 (0:00:00.030) 0:00:16.796 ********** ok: [/cache/rhel-x.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 05 May 2022 04:50:20 +0000 (0:00:00.558) 0:00:17.355 ********** skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-x.qcow2] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 05 May 2022 04:50:20 +0000 (0:00:00.067) 0:00:17.423 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 05 May 2022 04:50:21 +0000 (0:00:00.992) 0:00:18.415 ********** included: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-x.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 05 May 2022 04:50:21 +0000 (0:00:00.031) 0:00:18.447 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052402", "end": "2022-05-05 00:50:21.925909", "rc": 0, "start": "2022-05-05 00:50:21.873507" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.427) 0:00:18.874 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.045) 0:00:18.920 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1651726215.5669956, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398464, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2394, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398465, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398466, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398467, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1651726211.4709954, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398468, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.381) 0:00:19.301 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "LEGACY", "FUTURE", "FIPS", "EMPTY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.047) 0:00:19.349 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false, "examined": 6, "files": [ { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805339, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805340, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805341, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1651726215.5809956, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805342, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805343, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1650635908.0, "ctime": 1651366330.4492352, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16805344, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1650635908.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": 6 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.373) 0:00:19.722 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 05 May 2022 04:50:22 +0000 (0:00:00.045) 0:00:19.768 ********** ok: [/cache/rhel-x.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "SHA1", "OSPP", "AD-SUPPORT", "ECDHE-ONLY", "AD-SUPPORT-LEGACY", "NO-SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.046) 0:00:19.815 ********** fatal: [/cache/rhel-x.qcow2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.058878", "end": "2022-05-05 00:50:23.317127", "rc": 1, "start": "2022-05-05 00:50:23.258249" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/tmp41oh1zsl/tests/tests_update.yml:62 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.446) 0:00:20.261 ********** ok: [/cache/rhel-x.qcow2] => { "changed": false } MSG: All assertions passed RUNNING HANDLER [linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.038) 0:00:20.300 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.046) 0:00:20.346 ********** skipping: [/cache/rhel-x.qcow2] => { "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: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.051) 0:00:20.397 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.042) 0:00:20.440 ********** skipping: [/cache/rhel-x.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-x.qcow2 : ok=60 changed=3 unreachable=0 failed=0 skipped=8 rescued=2 ignored=0 Thursday 05 May 2022 04:50:23 +0000 (0:00:00.043) 0:00:20.483 ********** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 3.20s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 set up internal repositories -------------------------------------------- 1.38s /cache/rhel-x_setup.yml:6 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp41oh1zsl/tests/tests_update.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.99s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.93s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 0.91s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.56s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.56s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.55s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.53s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.52s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.50s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.47s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.45s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmp41oh1zsl/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.43s /tmp/tmp41oh1zsl/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.41s /tmp/tmp41oh1zsl/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.41s /tmp/tmp41oh1zsl/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3