[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.D1saZpJQ2C executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jul 17 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_default.yml **************************************************** 1 plays in /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 27 July 2024 00:22:54 -0400 (0:00:00.011) 0:00:00.011 ********* included: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 27 July 2024 00:22:54 -0400 (0:00:00.029) 0:00:00.040 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 27 July 2024 00:22:57 -0400 (0:00:03.627) 0:00:03.668 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 27 July 2024 00:22:58 -0400 (0:00:00.439) 0:00:04.108 ********* ok: [managed_node1] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 Saturday 27 July 2024 00:22:58 -0400 (0:00:00.019) 0:00:04.127 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_10.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_10.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 27 July 2024 00:22:58 -0400 (0:00:00.027) 0:00:04.154 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 Saturday 27 July 2024 00:23:03 -0400 (0:00:04.756) 0:00:08.911 ********* included: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 July 2024 00:23:03 -0400 (0:00:00.013) 0:00:08.924 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.281911", "end": "2024-07-27 00:23:03.740921", "rc": 0, "start": "2024-07-27 00:23:03.459010" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 July 2024 00:23:03 -0400 (0:00:00.729) 0:00:09.654 ********* ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 Saturday 27 July 2024 00:23:03 -0400 (0:00:00.015) 0:00:09.669 ********* ok: [managed_node1] => { "changed": false, "examined": 7, "files": [ { "atime": 1721811793.606, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2097298, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2559, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2097299, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2097300, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2103, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2097301, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2597, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 2097302, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2740, "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/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.448) 0:00:10.117 ********* ok: [managed_node1] => { "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/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.022) 0:00:10.139 ********* ok: [managed_node1] => { "changed": false, "examined": 4, "files": [ { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4325525, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.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": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4325526, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.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": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4325527, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1716312964.0, "ctime": 1721811633.894, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 4325528, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1716312964.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 4, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.365) 0:00:10.505 ********* ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.022) 0:00:10.527 ********* ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.014) 0:00:10.541 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.015) 0:00:10.556 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.014) 0:00:10.571 ********* included: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 27 July 2024 00:23:04 -0400 (0:00:00.013) 0:00:10.585 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065577", "end": "2024-07-27 00:23:05.096926", "rc": 0, "start": "2024-07-27 00:23:05.031349" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 27 July 2024 00:23:05 -0400 (0:00:00.423) 0:00:11.009 ********* ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:11 Saturday 27 July 2024 00:23:05 -0400 (0:00:00.015) 0:00:11.024 ********* META: triggered running handlers for managed_node1 TASK [Check the current policy is DEFAULT and common variables] **************** task path: /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:14 Saturday 27 July 2024 00:23:05 -0400 (0:00:00.001) 0:00:11.026 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=17 changed=0 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 Saturday 27 July 2024 00:23:05 -0400 (0:00:00.021) 0:00:11.048 ********* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 4.76s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 3.63s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.73s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.45s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:15 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.44s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.42s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.37s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:30 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.03s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.03s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:19 fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:38 Check the current policy is DEFAULT and common variables ---------------- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_default.yml:14 fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree --- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:51 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.02s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed --- 0.01s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:63 fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated) --- 0.01s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:45 fedora.linux_system_roles.crypto_policies : Gather facts ---------------- 0.01s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:12 fedora.linux_system_roles.crypto_policies : Update facts after applying policy --- 0.01s /tmp/tmp.D1saZpJQ2C/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:71