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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:38:14 +0000 (0:00:00.023) 0:00:00.023 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.437674", "end": "2022-04-12 22:38:15.739607", "rc": 0, "start": "2022-04-12 22:38:15.301933" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:38:16 +0000 (0:00:01.200) 0:00:01.224 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.20s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:38:16 +0000 (0:00:00.133) 0:00:01.357 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:38:16 +0000 (0:00:00.025) 0:00:01.382 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:38:19 +0000 (0:00:02.849) 0:00:04.231 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:38:19 +0000 (0:00:00.058) 0:00:04.290 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:38:40 +0000 (0:00:21.469) 0:00:25.759 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:38:40 +0000 (0:00:00.023) 0:00:25.783 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.063699", "end": "2022-04-12 22:38:40.763438", "rc": 0, "start": "2022-04-12 22:38:40.699739" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:38:41 +0000 (0:00:00.456) 0:00:26.240 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:38:41 +0000 (0:00:00.043) 0:00:26.283 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:38:41 +0000 (0:00:00.510) 0:00:26.794 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:38:41 +0000 (0:00:00.044) 0:00:26.838 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.377) 0:00:27.216 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.044) 0:00:27.260 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.040) 0:00:27.301 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.035) 0:00:27.337 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.034) 0:00:27.371 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.019) 0:00:27.391 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050261", "end": "2022-04-12 22:38:42.317284", "rc": 0, "start": "2022-04-12 22:38:42.267023" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.405) 0:00:27.796 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/tests_default.yml:13 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.042) 0:00:27.839 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=16 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 12 April 2022 22:38:42 +0000 (0:00:00.050) 0:00:27.889 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed -- 21.47s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 2.85s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Enable HA repos --------------------------------------------------------- 1.20s /cache/centos-8_setup.yml:6 --------------------------------------------------- linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s /tmp/tmpcf1qv9_s/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.46s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Check the current policy is DEFAULT and common variables ---------------- 0.05s /tmp/tmpcf1qv9_s/tests/tests_default.yml:13 ----------------------------------- linux-system-roles.crypto_policies : Set available base policies fact --- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.02s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.02s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:38:57 +0000 (0:00:00.023) 0:00:00.023 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.436070", "end": "2022-04-12 22:38:58.656062", "rc": 0, "start": "2022-04-12 22:38:58.219992" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:38:58 +0000 (0:00:01.189) 0:00:01.213 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.19s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmpcf1qv9_s/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_include_vars_from_parent.yml:1 Tuesday 12 April 2022 22:38:58 +0000 (0:00:00.011) 0:00:01.225 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpcf1qv9_s/tests/tests_include_vars_from_parent.yml:3 Tuesday 12 April 2022 22:38:59 +0000 (0:00:01.151) 0:00:02.376 ********* changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpcf1qv9_s/tests/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1649803139.97-20549-155439426131910/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpcf1qv9_s/tests/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1649803140.58-20549-95256254159170/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpcf1qv9_s/tests/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1649803140.84-20549-64440454714848/source", "state": "file", "uid": 0 } changed: [/cache/centos-8.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpcf1qv9_s/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-1649803141.1-20549-206041264243237/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpcf1qv9_s/tests/roles/caller/tasks/main.yml:4 Tuesday 12 April 2022 22:39:01 +0000 (0:00:01.430) 0:00:03.807 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:39:01 +0000 (0:00:00.152) 0:00:03.959 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:39:01 +0000 (0:00:00.037) 0:00:03.997 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:39:05 +0000 (0:00:03.554) 0:00:07.552 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:39:05 +0000 (0:00:00.045) 0:00:07.597 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:39:26 +0000 (0:00:21.750) 0:00:29.347 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:39:26 +0000 (0:00:00.031) 0:00:29.379 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.055825", "end": "2022-04-12 22:39:27.250019", "rc": 0, "start": "2022-04-12 22:39:27.194194" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:39:27 +0000 (0:00:00.430) 0:00:29.809 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:39:27 +0000 (0:00:00.022) 0:00:29.832 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:39:27 +0000 (0:00:00.515) 0:00:30.348 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:39:27 +0000 (0:00:00.026) 0:00:30.374 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.377) 0:00:30.752 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.026) 0:00:30.779 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.024) 0:00:30.804 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.020) 0:00:30.824 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.020) 0:00:30.844 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.030) 0:00:30.875 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052318", "end": "2022-04-12 22:39:28.730130", "rc": 0, "start": "2022-04-12 22:39:28.677812" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.417) 0:00:31.292 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [caller : assert] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/roles/caller/tasks/main.yml:7 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.023) 0:00:31.315 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=18 changed=2 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 12 April 2022 22:39:28 +0000 (0:00:00.019) 0:00:31.335 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed -- 21.75s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 3.55s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 create var file in caller that can override the one in called role ------ 1.43s /tmp/tmpcf1qv9_s/tests/tests_include_vars_from_parent.yml:3 ------------------- Enable HA repos --------------------------------------------------------- 1.19s /cache/centos-8_setup.yml:6 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.15s /tmp/tmpcf1qv9_s/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.crypto_policies : Find base policies files ----------- 0.52s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 include_role : {{ roletoinclude }} -------------------------------------- 0.15s /tmp/tmpcf1qv9_s/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set available base policies fact --- 0.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.02s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.02s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.02s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:39:42 +0000 (0:00:00.023) 0:00:00.023 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.405063", "end": "2022-04-12 22:39:43.706818", "rc": 0, "start": "2022-04-12 22:39:43.301755" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:39:43 +0000 (0:00:01.150) 0:00:01.174 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.15s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:3 Tuesday 12 April 2022 22:39:44 +0000 (0:00:00.254) 0:00:01.428 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:6 Tuesday 12 April 2022 22:39:45 +0000 (0:00:01.297) 0:00:02.726 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/tests_no_package_update.yml:10 Tuesday 12 April 2022 22:39:48 +0000 (0:00:02.529) 0:00:05.256 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/tests_no_package_update.yml:15 Tuesday 12 April 2022 22:39:48 +0000 (0:00:00.265) 0:00:05.521 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:39:48 +0000 (0:00:00.090) 0:00:05.612 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:39:48 +0000 (0:00:00.081) 0:00:05.693 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:39:49 +0000 (0:00:01.195) 0:00:06.889 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:39:49 +0000 (0:00:00.121) 0:00:07.010 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:40:14 +0000 (0:00:24.516) 0:00:31.526 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:40:14 +0000 (0:00:00.108) 0:00:31.635 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.057197", "end": "2022-04-12 22:40:14.606476", "rc": 0, "start": "2022-04-12 22:40:14.549279" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:40:14 +0000 (0:00:00.469) 0:00:32.104 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:40:14 +0000 (0:00:00.074) 0:00:32.179 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:40:15 +0000 (0:00:00.533) 0:00:32.713 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:40:15 +0000 (0:00:00.074) 0:00:32.788 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.409) 0:00:33.197 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.078) 0:00:33.276 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.072) 0:00:33.349 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.073) 0:00:33.423 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.066) 0:00:33.489 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.090) 0:00:33.579 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053447", "end": "2022-04-12 22:40:16.567305", "rc": 0, "start": "2022-04-12 22:40:16.513858" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.475) 0:00:34.055 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Refresh package facts] *************************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:19 Tuesday 12 April 2022 22:40:16 +0000 (0:00:00.086) 0:00:34.142 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/tests_no_package_update.yml:23 Tuesday 12 April 2022 22:40:18 +0000 (0:00:01.265) 0:00:35.407 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=20 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Tuesday 12 April 2022 22:40:18 +0000 (0:00:00.063) 0:00:35.471 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed -- 24.52s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 2.53s /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:6 -------------------------- Gathering Facts --------------------------------------------------------- 1.30s /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:3 -------------------------- Refresh package facts --------------------------------------------------- 1.27s /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:19 ------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 1.20s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Enable HA repos --------------------------------------------------------- 1.15s /cache/centos-8_setup.yml:6 --------------------------------------------------- linux-system-roles.crypto_policies : Find base policies files ----------- 0.53s /tmp/tmpcf1qv9_s/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.48s /tmp/tmpcf1qv9_s/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.47s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.41s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.27s /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:10 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.12s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.11s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Include role ------------------------------------------------------------ 0.09s /tmp/tmpcf1qv9_s/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : include_tasks ---------------------- 0.09s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.09s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.08s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.08s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.07s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set available base policies fact --- 0.07s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:40:32 +0000 (0:00:00.022) 0:00:00.022 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.415955", "end": "2022-04-12 22:40:32.771352", "rc": 0, "start": "2022-04-12 22:40:32.355397" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:40:33 +0000 (0:00:01.159) 0:00:01.181 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.16s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_reboot.yml ***************************************************** 1 plays in /tmp/tmpcf1qv9_s/tests/tests_reboot.yml PLAY [Ensure we can set crypto policy including reboot of the system] ********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_reboot.yml:3 Tuesday 12 April 2022 22:40:33 +0000 (0:00:00.134) 0:00:01.316 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:40:34 +0000 (0:00:00.953) 0:00:02.269 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:40:34 +0000 (0:00:00.033) 0:00:02.303 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:40:35 +0000 (0:00:00.773) 0:00:03.076 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:40:35 +0000 (0:00:00.064) 0:00:03.140 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:40:56 +0000 (0:00:21.294) 0:00:24.435 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:40:56 +0000 (0:00:00.029) 0:00:24.464 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.056610", "end": "2022-04-12 22:40:56.496430", "rc": 0, "start": "2022-04-12 22:40:56.439820" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:40:57 +0000 (0:00:00.443) 0:00:24.907 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:40:57 +0000 (0:00:00.046) 0:00:24.954 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:40:57 +0000 (0:00:00.515) 0:00:25.469 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:40:57 +0000 (0:00:00.048) 0:00:25.517 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.393) 0:00:25.910 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.045) 0:00:25.956 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.043) 0:00:25.999 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "FUTURE" ], "delta": "0:00:00.123694", "end": "2022-04-12 22:40:58.133468", "rc": 0, "start": "2022-04-12 22:40:58.009774" } 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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.540) 0:00:26.540 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.049) 0:00:26.590 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:40:58 +0000 (0:00:00.028) 0:00:26.618 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049618", "end": "2022-04-12 22:40:58.633199", "rc": 0, "start": "2022-04-12 22:40:58.583581" } STDOUT: FUTURE TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:40:59 +0000 (0:00:00.420) 0:00:27.039 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:40:59 +0000 (0:00:00.036) 0:00:27.075 ********* changed: [/cache/centos-8.qcow2] => { "changed": true, "elapsed": 99, "rebooted": true } RUNNING HANDLER [linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:42:39 +0000 (0:01:40.026) 0:02:07.102 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": false }, "changed": false } META: ran handlers TASK [Check the current policy is FUTURE] ************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reboot.yml:16 Tuesday 12 April 2022 22:42:39 +0000 (0:00:00.058) 0:02:07.160 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=21 changed=3 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 Tuesday 12 April 2022 22:42:39 +0000 (0:00:00.042) 0:02:07.203 ********* =============================================================================== linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes - 100.03s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 linux-system-roles.crypto_policies : Ensure required packages are installed -- 21.29s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Enable HA repos --------------------------------------------------------- 1.16s /cache/centos-8_setup.yml:6 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpcf1qv9_s/tests/tests_reboot.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.77s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.54s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find base policies files ----------- 0.52s /tmp/tmpcf1qv9_s/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.44s /tmp/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.39s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 linux-system-roles.crypto_policies : Set the reboot_required flag if needed --- 0.05s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 linux-system-roles.crypto_policies : Set available base policies fact --- 0.05s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.05s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.05s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Check the current policy is FUTURE -------------------------------------- 0.04s /tmp/tmpcf1qv9_s/tests/tests_reboot.yml:16 ------------------------------------ linux-system-roles.crypto_policies : Set current policy fact ------------ 0.04s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.03s /tmp/tmpcf1qv9_s/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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:42:53 +0000 (0:00:00.024) 0:00:00.024 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.432603", "end": "2022-04-12 22:42:54.831495", "rc": 0, "start": "2022-04-12 22:42:54.398892" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:42:54 +0000 (0:00:01.144) 0:00:01.168 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.14s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_reload.yml ***************************************************** 1 plays in /tmp/tmpcf1qv9_s/tests/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:3 Tuesday 12 April 2022 22:42:54 +0000 (0:00:00.190) 0:00:01.358 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:7 Tuesday 12 April 2022 22:42:55 +0000 (0:00:00.987) 0:00:02.345 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:42:55 +0000 (0:00:00.038) 0:00:02.384 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:42:55 +0000 (0:00:00.027) 0:00:02.412 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:42:57 +0000 (0:00:01.291) 0:00:03.703 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:42:57 +0000 (0:00:00.063) 0:00:03.767 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:43:21 +0000 (0:00:24.734) 0:00:28.502 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:21 +0000 (0:00:00.030) 0:00:28.532 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.058076", "end": "2022-04-12 22:43:22.635514", "rc": 0, "start": "2022-04-12 22:43:22.577438" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:22 +0000 (0:00:00.440) 0:00:28.973 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:43:22 +0000 (0:00:00.046) 0:00:29.020 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:43:22 +0000 (0:00:00.534) 0:00:29.555 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:43:22 +0000 (0:00:00.052) 0:00:29.607 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.393) 0:00:30.001 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.060) 0:00:30.061 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.047) 0:00:30.109 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.041) 0:00:30.150 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.055) 0:00:30.206 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:23 +0000 (0:00:00.031) 0:00:30.238 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050645", "end": "2022-04-12 22:43:24.315360", "rc": 0, "start": "2022-04-12 22:43:24.264715" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:24 +0000 (0:00:00.414) 0:00:30.653 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:11 Tuesday 12 April 2022 22:43:24 +0000 (0:00:00.047) 0:00:30.700 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "MTAzOAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:16 Tuesday 12 April 2022 22:43:24 +0000 (0:00:00.474) 0:00:31.175 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:43:24 +0000 (0:00:00.044) 0:00:31.219 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:43:24 +0000 (0:00:00.027) 0:00:31.247 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:43:25 +0000 (0:00:00.677) 0:00:31.924 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:43:25 +0000 (0:00:00.068) 0:00:31.993 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:43:27 +0000 (0:00:01.868) 0:00:33.861 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:27 +0000 (0:00:00.030) 0:00:33.892 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052450", "end": "2022-04-12 22:43:27.967058", "rc": 0, "start": "2022-04-12 22:43:27.914608" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:27 +0000 (0:00:00.415) 0:00:34.307 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:43:27 +0000 (0:00:00.054) 0:00:34.362 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:43:28 +0000 (0:00:00.400) 0:00:34.762 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:43:28 +0000 (0:00:00.047) 0:00:34.810 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:43:28 +0000 (0:00:00.369) 0:00:35.179 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:43:28 +0000 (0:00:00.046) 0:00:35.226 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:43:28 +0000 (0:00:00.046) 0:00:35.273 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.100440", "end": "2022-04-12 22:43:29.442231", "rc": 0, "start": "2022-04-12 22:43:29.341791" } 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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:43:29 +0000 (0:00:00.507) 0:00:35.780 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:43:29 +0000 (0:00:00.047) 0:00:35.827 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:29 +0000 (0:00:00.030) 0:00:35.858 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.054511", "end": "2022-04-12 22:43:29.934733", "rc": 0, "start": "2022-04-12 22:43:29.880222" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:29 +0000 (0:00:00.418) 0:00:36.276 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:23 Tuesday 12 April 2022 22:43:29 +0000 (0:00:00.044) 0:00:36.321 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "MTAzOAo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:28 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.386) 0:00:36.708 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:32 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.043) 0:00:36.752 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:37 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.045) 0:00:36.797 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.049) 0:00:36.847 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.027) 0:00:36.875 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.546) 0:00:37.421 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:43:30 +0000 (0:00:00.069) 0:00:37.490 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:43:32 +0000 (0:00:01.842) 0:00:39.333 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:32 +0000 (0:00:00.029) 0:00:39.362 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053051", "end": "2022-04-12 22:43:33.448483", "rc": 0, "start": "2022-04-12 22:43:33.395432" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:33 +0000 (0:00:00.426) 0:00:39.789 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:43:33 +0000 (0:00:00.046) 0:00:39.836 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803409.3875647, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:43:33 +0000 (0:00:00.361) 0:00:40.197 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:43:33 +0000 (0:00:00.051) 0:00:40.249 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.380) 0:00:40.629 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.047) 0:00:40.677 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.047) 0:00:40.724 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.137769", "end": "2022-04-12 22:43:34.928733", "rc": 0, "start": "2022-04-12 22:43:34.790964" } 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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.545) 0:00:41.269 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.048) 0:00:41.318 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:43:34 +0000 (0:00:00.030) 0:00:41.349 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.052229", "end": "2022-04-12 22:43:35.429197", "rc": 0, "start": "2022-04-12 22:43:35.376968" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.422) 0:00:41.771 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:43 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.043) 0:00:41.815 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "content": "NzA4MQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:48 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.371) 0:00:42.186 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_reload.yml:53 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.047) 0:00:42.234 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.042) 0:00:42.276 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.045) 0:00:42.322 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.042) 0:00:42.364 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.042) 0:00:42.407 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.043) 0:00:42.450 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.044) 0:00:42.494 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=55 changed=3 unreachable=0 failed=0 skipped=11 rescued=0 ignored=0 Tuesday 12 April 2022 22:43:35 +0000 (0:00:00.048) 0:00:42.543 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed -- 24.73s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.87s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.84s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 1.29s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Enable HA repos --------------------------------------------------------- 1.14s /cache/centos-8_setup.yml:6 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.99s /tmp/tmpcf1qv9_s/tests/tests_reload.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.68s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Find base policies files ----------- 0.53s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.51s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Get SSHD pid before policy update --------------------------------------- 0.47s /tmp/tmpcf1qv9_s/tests/tests_reload.yml:11 ------------------------------------ linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.44s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find base policies files ----------- 0.40s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.39s /tmp/tmpcf1qv9_s/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: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:6 Tuesday 12 April 2022 22:43:49 +0000 (0:00:00.022) 0:00:00.022 ********* [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.439328", "end": "2022-04-12 22:43:50.729190", "rc": 0, "start": "2022-04-12 22:43:50.289862" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Tuesday 12 April 2022 22:43:51 +0000 (0:00:01.170) 0:00:01.193 ********* =============================================================================== Enable HA repos --------------------------------------------------------- 1.17s /cache/centos-8_setup.yml:6 --------------------------------------------------- PLAYBOOK: tests_update.yml ***************************************************** 1 plays in /tmp/tmpcf1qv9_s/tests/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:3 Tuesday 12 April 2022 22:43:51 +0000 (0:00:00.012) 0:00:01.206 ********* ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:7 Tuesday 12 April 2022 22:43:52 +0000 (0:00:01.164) 0:00:02.370 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:43:52 +0000 (0:00:00.149) 0:00:02.520 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:43:52 +0000 (0:00:00.037) 0:00:02.557 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:43:52 +0000 (0:00:00.620) 0:00:03.178 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:43:53 +0000 (0:00:00.068) 0:00:03.246 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:44:19 +0000 (0:00:26.389) 0:00:29.635 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:19 +0000 (0:00:00.030) 0:00:29.666 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.062300", "end": "2022-04-12 22:44:19.639667", "rc": 0, "start": "2022-04-12 22:44:19.577367" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:19 +0000 (0:00:00.441) 0:00:30.107 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:44:19 +0000 (0:00:00.045) 0:00:30.152 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:44:20 +0000 (0:00:00.517) 0:00:30.670 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:44:20 +0000 (0:00:00.044) 0:00:30.714 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:44:20 +0000 (0:00:00.380) 0:00:31.095 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:44:20 +0000 (0:00:00.045) 0:00:31.140 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:44:20 +0000 (0:00:00.040) 0:00:31.181 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.099850", "end": "2022-04-12 22:44:21.184920", "rc": 0, "start": "2022-04-12 22:44:21.085070" } 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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:44:21 +0000 (0:00:00.470) 0:00:31.651 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:44:21 +0000 (0:00:00.045) 0:00:31.697 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:21 +0000 (0:00:00.031) 0:00:31.728 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048323", "end": "2022-04-12 22:44:21.664805", "rc": 0, "start": "2022-04-12 22:44:21.616482" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:21 +0000 (0:00:00.404) 0:00:32.133 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:13 Tuesday 12 April 2022 22:44:21 +0000 (0:00:00.047) 0:00:32.180 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:19 Tuesday 12 April 2022 22:44:22 +0000 (0:00:00.046) 0:00:32.226 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:44:22 +0000 (0:00:00.039) 0:00:32.266 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:44:22 +0000 (0:00:00.026) 0:00:32.293 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:44:22 +0000 (0:00:00.522) 0:00:32.815 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:44:22 +0000 (0:00:00.064) 0:00:32.880 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:44:24 +0000 (0:00:01.902) 0:00:34.782 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:24 +0000 (0:00:00.030) 0:00:34.812 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049138", "end": "2022-04-12 22:44:24.778899", "rc": 0, "start": "2022-04-12 22:44:24.729761" } STDOUT: LEGACY TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.438) 0:00:35.251 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.047) 0:00:35.298 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1643141148.061, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803461.1288748, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.408) 0:00:35.706 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.047) 0:00:35.754 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.366) 0:00:36.121 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:44:25 +0000 (0:00:00.047) 0:00:36.168 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:44:26 +0000 (0:00:00.048) 0:00:36.216 ********* NOTIFIED HANDLER linux-system-roles.crypto_policies : reboot the managed host to apply crypto policies changes for /cache/centos-8.qcow2 NOTIFIED HANDLER linux-system-roles.crypto_policies : clear the crypto_policies_reboot_required flag for /cache/centos-8.qcow2 changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.103535", "end": "2022-04-12 22:44:26.253624", "rc": 0, "start": "2022-04-12 22:44:26.150089" } 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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Tuesday 12 April 2022 22:44:26 +0000 (0:00:00.503) 0:00:36.720 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Tuesday 12 April 2022 22:44:26 +0000 (0:00:00.045) 0:00:36.766 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:26 +0000 (0:00:00.030) 0:00:36.797 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049417", "end": "2022-04-12 22:44:26.748360", "rc": 0, "start": "2022-04-12 22:44:26.698943" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.417) 0:00:37.214 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:25 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.044) 0:00:37.258 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:33 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.047) 0:00:37.306 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.032) 0:00:37.339 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.025) 0:00:37.365 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.530) 0:00:37.896 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:44:27 +0000 (0:00:00.063) 0:00:37.960 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:44:29 +0000 (0:00:01.857) 0:00:39.818 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:29 +0000 (0:00:00.027) 0:00:39.845 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053605", "end": "2022-04-12 22:44:29.787554", "rc": 0, "start": "2022-04-12 22:44:29.733949" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.408) 0:00:40.254 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.043) 0:00:40.297 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1649803466.1958747, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803461.1288748, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.352) 0:00:40.649 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.045) 0:00:40.695 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803466.2078748, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.362) 0:00:41.057 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.050) 0:00:41.107 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:44:30 +0000 (0:00:00.044) 0:00:41.151 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.049692", "end": "2022-04-12 22:44:31.119682", "rc": 1, "start": "2022-04-12 22:44:31.069990" } 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/tmpcf1qv9_s/tests/tests_update.yml:43 Tuesday 12 April 2022 22:44:31 +0000 (0:00:00.433) 0:00:41.585 ********* ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/tmpcf1qv9_s/tests/tests_update.yml:52 Tuesday 12 April 2022 22:44:31 +0000 (0:00:00.049) 0:00:41.635 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Tuesday 12 April 2022 22:44:31 +0000 (0:00:00.036) 0:00:41.671 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Tuesday 12 April 2022 22:44:31 +0000 (0:00:00.030) 0:00:41.701 ********* ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Tuesday 12 April 2022 22:44:32 +0000 (0:00:00.535) 0:00:42.237 ********* skipping: [/cache/centos-8.qcow2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/centos-8.qcow2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Tuesday 12 April 2022 22:44:32 +0000 (0:00:00.064) 0:00:42.301 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Tuesday 12 April 2022 22:44:33 +0000 (0:00:01.817) 0:00:44.118 ********* included: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Tuesday 12 April 2022 22:44:33 +0000 (0:00:00.030) 0:00:44.148 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049963", "end": "2022-04-12 22:44:34.103416", "rc": 0, "start": "2022-04-12 22:44:34.053453" } STDOUT: DEFAULT:NO-SHA1 TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Tuesday 12 April 2022 22:44:34 +0000 (0:00:00.421) 0:00:44.570 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Tuesday 12 April 2022 22:44:34 +0000 (0:00:00.046) 0:00:44.616 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 7, "files": [ { "atime": 1649803466.1958747, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656390, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2072, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.521, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656391, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656392, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1645, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.522, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656393, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2030, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803461.1288748, "ctime": 1643141086.523, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 5656394, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2390, "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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Tuesday 12 April 2022 22:44:34 +0000 (0:00:00.372) 0:00:44.989 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Tuesday 12 April 2022 22:44:34 +0000 (0:00:00.048) 0:00:45.037 ********* ok: [/cache/centos-8.qcow2] => { "changed": false, "examined": 5, "files": [ { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828356, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 318, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.524, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828357, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1637070398.0, "ctime": 1643141086.525, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828358, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1649803466.2078748, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828359, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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": 1637070398.0, "ctime": 1643141086.526, "dev": 64513, "gid": 0, "gr_name": "root", "inode": 8828360, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1637070398.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 } ], "matched": 5 } TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.403) 0:00:45.441 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.058) 0:00:45.499 ********* ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "OSPP", "NO-SHA1", "AD-SUPPORT" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.046) 0:00:45.545 ********* fatal: [/cache/centos-8.qcow2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.064428", "end": "2022-04-12 22:44:35.545062", "rc": 1, "start": "2022-04-12 22:44:35.480634" } 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/tmpcf1qv9_s/tests/tests_update.yml:62 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.470) 0:00:46.016 ********* ok: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.043) 0:00:46.059 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.045) 0:00:46.105 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:4 Tuesday 12 April 2022 22:44:35 +0000 (0:00:00.044) 0:00:46.149 ********* skipping: [/cache/centos-8.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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/handlers/main.yml:11 Tuesday 12 April 2022 22:44:36 +0000 (0:00:00.046) 0:00:46.196 ********* skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=60 changed=3 unreachable=0 failed=0 skipped=8 rescued=2 ignored=0 Tuesday 12 April 2022 22:44:36 +0000 (0:00:00.049) 0:00:46.245 ********* =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed -- 26.39s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.90s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.86s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.82s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Enable HA repos --------------------------------------------------------- 1.17s /cache/centos-8_setup.yml:6 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.16s /tmp/tmpcf1qv9_s/tests/tests_update.yml:3 ------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.62s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.52s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.50s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.47s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.47s /tmp/tmpcf1qv9_s/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.44s /tmp/tmpcf1qv9_s/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.44s /tmp/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Update crypto policy if needed ----- 0.43s /tmp/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/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.42s /tmp/tmpcf1qv9_s/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/tmpcf1qv9_s/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3