ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpv7dn8ean executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 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:5 Wednesday 06 July 2022 00:10:38 +0000 (0:00:00.017) 0:00:00.017 ******** 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.196355", "end": "2022-07-06 00:10:38.912791", "rc": 0, "start": "2022-07-06 00:10:38.716436" } 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 Wednesday 06 July 2022 00:10:39 +0000 (0:00:00.771) 0:00:00.788 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:3 Wednesday 06 July 2022 00:10:39 +0000 (0:00:00.011) 0:00:00.800 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:6 Wednesday 06 July 2022 00:10:40 +0000 (0:00:01.010) 0:00:01.811 ******** 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/tmp3c0wrjnn/tests/tests_no_package_update.yml:10 Wednesday 06 July 2022 00:10:42 +0000 (0:00:01.256) 0:00:03.068 ******** 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/tmp3c0wrjnn/tests/tests_no_package_update.yml:15 Wednesday 06 July 2022 00:10:42 +0000 (0:00:00.086) 0:00:03.154 ******** TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Wednesday 06 July 2022 00:10:42 +0000 (0:00:00.052) 0:00:03.206 ******** included: /tmp/tmp3c0wrjnn/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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:10:42 +0000 (0:00:00.045) 0:00:03.252 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Wednesday 06 July 2022 00:10:42 +0000 (0:00:00.536) 0:00:03.789 ******** 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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Wednesday 06 July 2022 00:10:42 +0000 (0:00:00.061) 0:00:03.850 ******** 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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Wednesday 06 July 2022 00:10:45 +0000 (0:00:02.199) 0:00:06.050 ******** included: /tmp/tmp3c0wrjnn/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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Wednesday 06 July 2022 00:10:45 +0000 (0:00:00.048) 0:00:06.098 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051683", "end": "2022-07-06 00:10:44.650016", "rc": 0, "start": "2022-07-06 00:10:44.598333" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Wednesday 06 July 2022 00:10:45 +0000 (0:00:00.446) 0:00:06.544 ******** 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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Wednesday 06 July 2022 00:10:45 +0000 (0:00:00.044) 0:00:06.589 ******** 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, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.519) 0:00:07.109 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Find subpolicy files] *************** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.055) 0:00:07.165 ******** 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, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.375) 0:00:07.540 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.056) 0:00:07.597 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.041) 0:00:07.638 ******** 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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.034) 0:00:07.672 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.033) 0:00:07.705 ******** included: /tmp/tmp3c0wrjnn/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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Wednesday 06 July 2022 00:10:46 +0000 (0:00:00.049) 0:00:07.755 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049456", "end": "2022-07-06 00:10:46.290571", "rc": 0, "start": "2022-07-06 00:10:46.241115" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Wednesday 06 July 2022 00:10:47 +0000 (0:00:00.415) 0:00:08.170 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-8.qcow2 TASK [Refresh package facts] *************************************************** task path: /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:19 Wednesday 06 July 2022 00:10:47 +0000 (0:00:00.056) 0:00:08.227 ******** 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/tmp3c0wrjnn/tests/tests_no_package_update.yml:23 Wednesday 06 July 2022 00:10:48 +0000 (0:00:01.110) 0:00:09.338 ******** 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 Wednesday 06 July 2022 00:10:48 +0000 (0:00:00.068) 0:00:09.406 ******** =============================================================================== linux-system-roles.crypto_policies : Ensure required packages are installed --- 2.20s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.26s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:6 -------------------------- Refresh package facts --------------------------------------------------- 1.11s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:19 ------------------------- Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:3 -------------------------- Enable HA repos --------------------------------------------------------- 0.77s /cache/centos-8_setup.yml:5 --------------------------------------------------- linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.54s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.52s /tmp/tmp3c0wrjnn/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.45s /tmp/tmp3c0wrjnn/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/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.38s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.09s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:10 ------------------------- Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:23 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.06s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.06s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 linux-system-roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Include role ------------------------------------------------------------ 0.05s /tmp/tmp3c0wrjnn/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmp3c0wrjnn/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpv7dn8ean executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: 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:5 Wednesday 06 July 2022 00:13:18 +0000 (0:00:00.018) 0:00:00.018 ******** 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.191517", "end": "2022-07-06 00:13:18.257161", "rc": 0, "start": "2022-07-06 00:13:18.065644" } 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 Wednesday 06 July 2022 00:13:18 +0000 (0:00:00.780) 0:00:00.799 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:3 Wednesday 06 July 2022 00:13:18 +0000 (0:00:00.012) 0:00:00.812 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:6 Wednesday 06 July 2022 00:13:20 +0000 (0:00:01.020) 0:00:01.832 ******** 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/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:10 Wednesday 06 July 2022 00:13:21 +0000 (0:00:01.259) 0:00:03.092 ******** 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/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:15 Wednesday 06 July 2022 00:13:21 +0000 (0:00:00.092) 0:00:03.185 ******** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Wednesday 06 July 2022 00:13:21 +0000 (0:00:00.059) 0:00:03.245 ******** included: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Wednesday 06 July 2022 00:13:21 +0000 (0:00:00.046) 0:00:03.291 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Wednesday 06 July 2022 00:13:22 +0000 (0:00:00.550) 0:00:03.842 ******** 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 [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Wednesday 06 July 2022 00:13:22 +0000 (0:00:00.059) 0:00:03.901 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Wednesday 06 July 2022 00:13:24 +0000 (0:00:02.115) 0:00:06.017 ******** included: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Wednesday 06 July 2022 00:13:24 +0000 (0:00:00.055) 0:00:06.072 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049210", "end": "2022-07-06 00:13:23.947384", "rc": 0, "start": "2022-07-06 00:13:23.898174" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Wednesday 06 July 2022 00:13:24 +0000 (0:00:00.419) 0:00:06.492 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Wednesday 06 July 2022 00:13:24 +0000 (0:00:00.079) 0:00:06.572 ******** 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, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.514) 0:00:07.086 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_policies": [ "DEFAULT", "EMPTY", "FIPS", "FUTURE", "LEGACY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.055) 0:00:07.142 ******** 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, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.389) 0:00:07.531 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.053) 0:00:07.585 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-CAMELLIA", "NO-SHA1", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.038) 0:00:07.623 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.032) 0:00:07.655 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.035) 0:00:07.691 ******** included: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Wednesday 06 July 2022 00:13:25 +0000 (0:00:00.074) 0:00:07.765 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.053786", "end": "2022-07-06 00:13:25.642431", "rc": 0, "start": "2022-07-06 00:13:25.588645" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Wednesday 06 July 2022 00:13:26 +0000 (0:00:00.428) 0:00:08.194 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/centos-8.qcow2 TASK [Refresh package facts] *************************************************** task path: /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:19 Wednesday 06 July 2022 00:13:26 +0000 (0:00:00.056) 0:00:08.250 ******** 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/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:23 Wednesday 06 July 2022 00:13:27 +0000 (0:00:01.065) 0:00:09.316 ******** 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 Wednesday 06 July 2022 00:13:27 +0000 (0:00:00.067) 0:00:09.383 ******** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.12s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 1.26s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:6 ---------- Refresh package facts --------------------------------------------------- 1.07s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:19 --------- Gathering Facts --------------------------------------------------------- 1.02s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:3 ---------- Enable HA repos --------------------------------------------------------- 0.78s /cache/centos-8_setup.yml:5 --------------------------------------------------- fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.51s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.42s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.39s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Save current package facts ---------------------------------------------- 0.09s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:10 --------- fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.08s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.07s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:23 --------- Include role ------------------------------------------------------------ 0.06s /tmp/tmpvvnf2blp/tests/crypto_policies/tests_no_package_update.yml:15 --------- fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.06s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.06s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.05s /tmp/tmpv7dn8ean/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36