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/tmpq_65obvb 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: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:3 Thursday 07 July 2022 05:14:24 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:6 Thursday 07 July 2022 05:14:26 +0000 (0:00:01.107) 0:00:01.121 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmphq5cyv5m/tests/tests_no_package_update.yml:10 Thursday 07 July 2022 05:14:26 +0000 (0:00:00.951) 0:00:02.073 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmphq5cyv5m/tests/tests_no_package_update.yml:15 Thursday 07 July 2022 05:14:27 +0000 (0:00:00.093) 0:00:02.166 ********* TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:14:27 +0000 (0:00:00.057) 0:00:02.224 ********* included: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:14:27 +0000 (0:00:00.047) 0:00:02.271 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [linux-system-roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Thursday 07 July 2022 05:14:27 +0000 (0:00:00.553) 0:00:02.825 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:14:27 +0000 (0:00:00.072) 0:00:02.897 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:14:28 +0000 (0:00:01.016) 0:00:03.914 ********* included: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:14:28 +0000 (0:00:00.050) 0:00:03.964 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048092", "end": "2022-07-07 01:14:27.986078", "rc": 0, "start": "2022-07-07 01:14:27.937986" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:14:29 +0000 (0:00:00.567) 0:00:04.532 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [linux-system-roles.crypto_policies : Find base policies files] *********** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:14:29 +0000 (0:00:00.046) 0:00:04.578 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1651373439.5687864, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2441, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.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": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398309, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398311, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:14:29 +0000 (0:00:00.506) 0:00:05.084 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.057) 0:00:05.142 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "examined": 6, "files": [ { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806375, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.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": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6, "skipped_paths": {} } MSG: All paths examined TASK [linux-system-roles.crypto_policies : Set available subpolicies fact] ***** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.356) 0:00:05.498 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.124) 0:00:05.623 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [linux-system-roles.crypto_policies : Update crypto policy if needed] ***** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.042) 0:00:05.666 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.035) 0:00:05.701 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.crypto_policies : include_tasks] ********************** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.035) 0:00:05.737 ********* included: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:14:30 +0000 (0:00:00.051) 0:00:05.788 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046744", "end": "2022-07-07 01:14:29.676071", "rc": 0, "start": "2022-07-07 01:14:29.629327" } STDOUT: DEFAULT TASK [linux-system-roles.crypto_policies : Set current policy fact] ************ task path: /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:14:31 +0000 (0:00:00.424) 0:00:06.212 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:19 Thursday 07 July 2022 05:14:31 +0000 (0:00:00.062) 0:00:06.275 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmphq5cyv5m/tests/tests_no_package_update.yml:23 Thursday 07 July 2022 05:14:31 +0000 (0:00:00.687) 0:00:06.963 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:14:31 +0000 (0:00:00.071) 0:00:07.034 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.11s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:3 -------------------------- linux-system-roles.crypto_policies : Ensure required packages are installed --- 1.02s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 0.95s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:6 -------------------------- Refresh package facts --------------------------------------------------- 0.69s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:19 ------------------------- linux-system-roles.crypto_policies : Find out what is the currently active policy --- 0.57s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Ensure ansible_facts used by role --- 0.55s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:2 linux-system-roles.crypto_policies : Find base policies files ----------- 0.51s /tmp/tmphq5cyv5m/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.42s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:3 linux-system-roles.crypto_policies : Find subpolicy files --------------- 0.36s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:28 linux-system-roles.crypto_policies : Set available subpolicies fact ----- 0.12s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:36 Save current package facts ---------------------------------------------- 0.09s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:10 ------------------------- linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.07s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/set_vars.yml:9 Verify packages were not changed ---------------------------------------- 0.07s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:23 ------------------------- linux-system-roles.crypto_policies : Set current policy fact ------------ 0.06s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 Include role ------------------------------------------------------------ 0.06s /tmp/tmphq5cyv5m/tests/tests_no_package_update.yml:15 ------------------------- linux-system-roles.crypto_policies : Set available base policies fact --- 0.06s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:21 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:69 linux-system-roles.crypto_policies : include_tasks ---------------------- 0.05s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:11 linux-system-roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/main.yml:3 linux-system-roles.crypto_policies : Set current policy fact ------------ 0.05s /tmp/tmphq5cyv5m/tests/roles/linux-system-roles.crypto_policies/tasks/gather_facts.yml:9 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/tmpq_65obvb 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: tests_no_package_update.yml ****************************************** 1 plays in /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml PLAY [Ensure that running the role does not update packages] ******************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:3 Thursday 07 July 2022 05:16:09 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [Get package facts] ******************************************************* task path: /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:6 Thursday 07 July 2022 05:16:10 +0000 (0:00:01.133) 0:00:01.146 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:10 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.943) 0:00:02.089 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:15 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.098) 0:00:02.187 ********* TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.061) 0:00:02.249 ********* included: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.051) 0:00:02.301 ********* ok: [/cache/rhel-9.qcow2.snap] TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.528) 0:00:02.829 ********* skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/rhel-9.qcow2.snap] => (item=RedHat_9.0.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.0.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Thursday 07 July 2022 05:16:11 +0000 (0:00:00.064) 0:00:02.893 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 Thursday 07 July 2022 05:16:12 +0000 (0:00:01.045) 0:00:03.938 ********* included: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:16:12 +0000 (0:00:00.054) 0:00:03.993 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046707", "end": "2022-07-07 01:16:12.321147", "rc": 0, "start": "2022-07-07 01:16:12.274440" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:16:13 +0000 (0:00:00.559) 0:00:04.553 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:13 Thursday 07 July 2022 05:16:13 +0000 (0:00:00.053) 0:00:04.606 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "examined": 7, "files": [ { "atime": 1651373439.5687864, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2441, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.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": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398309, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1939, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398310, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2465, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 8398311, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2574, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.525) 0:00:05.131 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.059) 0:00:05.191 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "examined": 6, "files": [ { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806373, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT-LEGACY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 469, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806374, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 283, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9129395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806375, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806376, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.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": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806377, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1648665514.0, "ctime": 1651373459.9139395, "dev": 64516, "gid": 0, "gr_name": "root", "inode": 16806378, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1648665514.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 6, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.389) 0:00:05.580 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:43 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.058) 0:00:05.638 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:49 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.043) 0:00:05.682 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "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/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:60 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.038) 0:00:05.720 ********* skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : include_tasks] *************** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.036) 0:00:05.756 ********* included: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Thursday 07 July 2022 05:16:14 +0000 (0:00:00.051) 0:00:05.808 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046861", "end": "2022-07-07 01:16:14.014673", "rc": 0, "start": "2022-07-07 01:16:13.967812" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Thursday 07 July 2022 05:16:15 +0000 (0:00:00.431) 0:00:06.239 ********* ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } META: role_complete for /cache/rhel-9.qcow2.snap TASK [Refresh package facts] *************************************************** task path: /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:19 Thursday 07 July 2022 05:16:15 +0000 (0:00:00.060) 0:00:06.299 ********* ok: [/cache/rhel-9.qcow2.snap] => { "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/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:23 Thursday 07 July 2022 05:16:16 +0000 (0:00:00.724) 0:00:07.023 ********* ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=19 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Thursday 07 July 2022 05:16:16 +0000 (0:00:00.156) 0:00:07.180 ********* =============================================================================== Gathering Facts --------------------------------------------------------- 1.13s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:3 ---------- fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.05s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Get package facts ------------------------------------------------------- 0.94s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:6 ---------- Refresh package facts --------------------------------------------------- 0.72s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:19 --------- fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.56s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.53s /tmp/tmpq_65obvb/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.53s /tmp/tmpq_65obvb/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/tmpq_65obvb/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/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Verify packages were not changed ---------------------------------------- 0.16s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:23 --------- Save current package facts ---------------------------------------------- 0.10s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:10 --------- fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.06s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:7 Include role ------------------------------------------------------------ 0.06s /tmp/tmpug7g0mmr/tests/crypto_policies/tests_no_package_update.yml:15 --------- fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.06s /tmp/tmpq_65obvb/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/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:21 fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.06s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.05s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:11 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.05s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : include_tasks --------------- 0.05s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.05s /tmp/tmpq_65obvb/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3