ansible-playbook [core 2.17.12] 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/collections-V9d executable location = /usr/local/bin/ansible-playbook python version = 3.12.10 (main, May 9 2025, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-5)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', 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_update.yml ***************************************************** 1 plays in /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Friday 06 June 2025 00:58:12 -0400 (0:00:00.017) 0:00:00.017 *********** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, 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-node2] TASK [Set correct base policy] ************************************************* task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Friday 06 June 2025 00:58:13 -0400 (0:00:01.021) 0:00:01.039 *********** included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 06 June 2025 00:58:13 -0400 (0:00:00.050) 0:00:01.090 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 06 June 2025 00:58:13 -0400 (0:00:00.019) 0:00:01.110 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 06 June 2025 00:58:13 -0400 (0:00:00.032) 0:00:01.142 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 06 June 2025 00:58:13 -0400 (0:00:00.417) 0:00:01.559 *********** ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 06 June 2025 00:58:13 -0400 (0:00:00.025) 0:00:01.585 *********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 06 June 2025 00:58:14 -0400 (0:00:00.332) 0:00:01.918 *********** ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 06 June 2025 00:58:14 -0400 (0:00:00.021) 0:00:01.940 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 06 June 2025 00:58:14 -0400 (0:00:00.030) 0:00:01.970 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 06 June 2025 00:58:15 -0400 (0:00:01.368) 0:00:03.339 *********** skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 06 June 2025 00:58:15 -0400 (0:00:00.038) 0:00:03.378 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 06 June 2025 00:58:15 -0400 (0:00:00.032) 0:00:03.410 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 06 June 2025 00:58:15 -0400 (0:00:00.032) 0:00:03.443 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:15 -0400 (0:00:00.018) 0:00:03.462 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045316", "end": "2025-06-06 00:58:16.221061", "rc": 0, "start": "2025-06-06 00:58:16.175745" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:16 -0400 (0:00:00.465) 0:00:03.927 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 06 June 2025 00:58:16 -0400 (0:00:00.017) 0:00:03.944 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1749185886.846795, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363586, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363588, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1749185882.8167615, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 06 June 2025 00:58:16 -0400 (0:00:00.422) 0:00:04.366 *********** ok: [managed-node2] => { "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 06 June 2025 00:58:16 -0400 (0:00:00.038) 0:00:04.405 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010871, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010873, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 06 June 2025 00:58:17 -0400 (0:00:00.334) 0:00:04.739 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 06 June 2025 00:58:17 -0400 (0:00:00.037) 0:00:04.777 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 06 June 2025 00:58:17 -0400 (0:00:00.016) 0:00:04.793 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.103410", "end": "2025-06-06 00:58:17.528412", "rc": 0, "start": "2025-06-06 00:58:17.425002" } STDOUT: Setting system policy to LEGACY Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 06 June 2025 00:58:17 -0400 (0:00:00.439) 0:00:05.232 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 06 June 2025 00:58:17 -0400 (0:00:00.022) 0:00:05.255 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:17 -0400 (0:00:00.018) 0:00:05.273 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045619", "end": "2025-06-06 00:58:17.944577", "rc": 0, "start": "2025-06-06 00:58:17.898958" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:17 -0400 (0:00:00.376) 0:00:05.650 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:14 Friday 06 June 2025 00:58:18 -0400 (0:00:00.019) 0:00:05.669 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:20 Friday 06 June 2025 00:58:18 -0400 (0:00:00.035) 0:00:05.705 *********** ok: [managed-node2] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:24 Friday 06 June 2025 00:58:18 -0400 (0:00:00.016) 0:00:05.722 *********** included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 06 June 2025 00:58:18 -0400 (0:00:00.041) 0:00:05.764 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 06 June 2025 00:58:18 -0400 (0:00:00.020) 0:00:05.784 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 06 June 2025 00:58:18 -0400 (0:00:00.033) 0:00:05.818 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 06 June 2025 00:58:18 -0400 (0:00:00.017) 0:00:05.836 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 06 June 2025 00:58:18 -0400 (0:00:00.017) 0:00:05.853 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 06 June 2025 00:58:18 -0400 (0:00:00.017) 0:00:05.871 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 06 June 2025 00:58:18 -0400 (0:00:00.017) 0:00:05.888 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 06 June 2025 00:58:18 -0400 (0:00:00.031) 0:00:05.919 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 06 June 2025 00:58:19 -0400 (0:00:01.264) 0:00:07.184 *********** skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 06 June 2025 00:58:19 -0400 (0:00:00.034) 0:00:07.219 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 06 June 2025 00:58:19 -0400 (0:00:00.034) 0:00:07.253 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 06 June 2025 00:58:19 -0400 (0:00:00.034) 0:00:07.288 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:19 -0400 (0:00:00.017) 0:00:07.306 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046204", "end": "2025-06-06 00:58:19.979797", "rc": 0, "start": "2025-06-06 00:58:19.933593" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:20 -0400 (0:00:00.380) 0:00:07.686 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 06 June 2025 00:58:20 -0400 (0:00:00.021) 0:00:07.708 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1749185886.846795, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363586, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363588, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1749185882.8167615, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 06 June 2025 00:58:20 -0400 (0:00:00.340) 0:00:08.048 *********** ok: [managed-node2] => { "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 06 June 2025 00:58:20 -0400 (0:00:00.038) 0:00:08.087 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010871, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010873, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 06 June 2025 00:58:20 -0400 (0:00:00.340) 0:00:08.427 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 06 June 2025 00:58:20 -0400 (0:00:00.038) 0:00:08.466 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 06 June 2025 00:58:20 -0400 (0:00:00.016) 0:00:08.483 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.126944", "end": "2025-06-06 00:58:21.249961", "rc": 0, "start": "2025-06-06 00:58:21.123017" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 06 June 2025 00:58:21 -0400 (0:00:00.473) 0:00:08.956 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 06 June 2025 00:58:21 -0400 (0:00:00.023) 0:00:08.980 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:21 -0400 (0:00:00.018) 0:00:08.999 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.044919", "end": "2025-06-06 00:58:21.670195", "rc": 0, "start": "2025-06-06 00:58:21.625276" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:21 -0400 (0:00:00.375) 0:00:09.375 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:30 Friday 06 June 2025 00:58:21 -0400 (0:00:00.021) 0:00:09.396 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:38 Friday 06 June 2025 00:58:21 -0400 (0:00:00.035) 0:00:09.432 *********** included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 06 June 2025 00:58:21 -0400 (0:00:00.030) 0:00:09.462 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 06 June 2025 00:58:21 -0400 (0:00:00.022) 0:00:09.484 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 06 June 2025 00:58:21 -0400 (0:00:00.034) 0:00:09.519 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 06 June 2025 00:58:21 -0400 (0:00:00.018) 0:00:09.537 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 06 June 2025 00:58:21 -0400 (0:00:00.017) 0:00:09.555 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 06 June 2025 00:58:21 -0400 (0:00:00.018) 0:00:09.574 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 06 June 2025 00:58:21 -0400 (0:00:00.017) 0:00:09.592 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 06 June 2025 00:58:21 -0400 (0:00:00.032) 0:00:09.624 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 06 June 2025 00:58:23 -0400 (0:00:01.280) 0:00:10.905 *********** skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 06 June 2025 00:58:23 -0400 (0:00:00.033) 0:00:10.938 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 06 June 2025 00:58:23 -0400 (0:00:00.030) 0:00:10.968 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 06 June 2025 00:58:23 -0400 (0:00:00.030) 0:00:10.999 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:23 -0400 (0:00:00.017) 0:00:11.017 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045550", "end": "2025-06-06 00:58:23.688651", "rc": 0, "start": "2025-06-06 00:58:23.643101" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:23 -0400 (0:00:00.377) 0:00:11.394 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 06 June 2025 00:58:23 -0400 (0:00:00.018) 0:00:11.412 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1749185886.846795, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363586, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363588, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1749185882.8167615, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 06 June 2025 00:58:24 -0400 (0:00:00.339) 0:00:11.751 *********** ok: [managed-node2] => { "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 06 June 2025 00:58:24 -0400 (0:00:00.041) 0:00:11.792 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1749185901.1769147, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010871, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010873, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 06 June 2025 00:58:24 -0400 (0:00:00.341) 0:00:12.134 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 06 June 2025 00:58:24 -0400 (0:00:00.039) 0:00:12.174 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 06 June 2025 00:58:24 -0400 (0:00:00.016) 0:00:12.190 *********** fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.045532", "end": "2025-06-06 00:58:24.874592", "rc": 1, "start": "2025-06-06 00:58:24.829060" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:48 Friday 06 June 2025 00:58:24 -0400 (0:00:00.390) 0:00:12.581 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:57 Friday 06 June 2025 00:58:24 -0400 (0:00:00.018) 0:00:12.599 *********** included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 06 June 2025 00:58:24 -0400 (0:00:00.029) 0:00:12.629 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 06 June 2025 00:58:24 -0400 (0:00:00.020) 0:00:12.649 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 06 June 2025 00:58:25 -0400 (0:00:00.037) 0:00:12.687 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 06 June 2025 00:58:25 -0400 (0:00:00.017) 0:00:12.704 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 06 June 2025 00:58:25 -0400 (0:00:00.017) 0:00:12.721 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 06 June 2025 00:58:25 -0400 (0:00:00.017) 0:00:12.739 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 06 June 2025 00:58:25 -0400 (0:00:00.016) 0:00:12.755 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 06 June 2025 00:58:25 -0400 (0:00:00.030) 0:00:12.786 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 06 June 2025 00:58:26 -0400 (0:00:01.279) 0:00:14.066 *********** skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 06 June 2025 00:58:26 -0400 (0:00:00.034) 0:00:14.100 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 06 June 2025 00:58:26 -0400 (0:00:00.032) 0:00:14.133 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 06 June 2025 00:58:26 -0400 (0:00:00.033) 0:00:14.167 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:26 -0400 (0:00:00.019) 0:00:14.186 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045432", "end": "2025-06-06 00:58:26.862759", "rc": 0, "start": "2025-06-06 00:58:26.817327" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:26 -0400 (0:00:00.381) 0:00:14.568 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 06 June 2025 00:58:26 -0400 (0:00:00.017) 0:00:14.586 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1749185886.846795, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363586, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363588, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1749185882.8167615, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 06 June 2025 00:58:27 -0400 (0:00:00.334) 0:00:14.920 *********** ok: [managed-node2] => { "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 06 June 2025 00:58:27 -0400 (0:00:00.038) 0:00:14.959 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1749185901.1769147, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010871, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010873, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 06 June 2025 00:58:27 -0400 (0:00:00.338) 0:00:15.298 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 06 June 2025 00:58:27 -0400 (0:00:00.038) 0:00:15.336 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 06 June 2025 00:58:27 -0400 (0:00:00.016) 0:00:15.353 *********** fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.060396", "end": "2025-06-06 00:58:28.051795", "rc": 1, "start": "2025-06-06 00:58:27.991399" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:67 Friday 06 June 2025 00:58:28 -0400 (0:00:00.403) 0:00:15.757 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Friday 06 June 2025 00:58:28 -0400 (0:00:00.018) 0:00:15.776 *********** included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 06 June 2025 00:58:28 -0400 (0:00:00.049) 0:00:15.825 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 06 June 2025 00:58:28 -0400 (0:00:00.022) 0:00:15.848 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 06 June 2025 00:58:28 -0400 (0:00:00.034) 0:00:15.882 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 06 June 2025 00:58:28 -0400 (0:00:00.018) 0:00:15.900 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 06 June 2025 00:58:28 -0400 (0:00:00.017) 0:00:15.918 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 06 June 2025 00:58:28 -0400 (0:00:00.017) 0:00:15.936 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 06 June 2025 00:58:28 -0400 (0:00:00.016) 0:00:15.953 *********** skipping: [managed-node2] => (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-node2] => (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-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 06 June 2025 00:58:28 -0400 (0:00:00.031) 0:00:15.984 *********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 06 June 2025 00:58:29 -0400 (0:00:01.262) 0:00:17.246 *********** skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 06 June 2025 00:58:29 -0400 (0:00:00.032) 0:00:17.279 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 06 June 2025 00:58:29 -0400 (0:00:00.032) 0:00:17.311 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 06 June 2025 00:58:29 -0400 (0:00:00.032) 0:00:17.344 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:29 -0400 (0:00:00.017) 0:00:17.361 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.045190", "end": "2025-06-06 00:58:30.033397", "rc": 0, "start": "2025-06-06 00:58:29.988207" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:30 -0400 (0:00:00.378) 0:00:17.740 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 06 June 2025 00:58:30 -0400 (0:00:00.017) 0:00:17.757 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1749185886.846795, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363585, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2481, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363586, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363587, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2024, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363588, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2542, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1749185882.8167615, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4363589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2661, "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 06 June 2025 00:58:30 -0400 (0:00:00.338) 0:00:18.096 *********** ok: [managed-node2] => { "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/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 06 June 2025 00:58:30 -0400 (0:00:00.040) 0:00:18.137 *********** ok: [managed-node2] => { "changed": false, "examined": 7, "files": [ { "atime": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010867, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010868, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010869, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010870, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1749185901.1769147, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010871, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "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": 1738083793.0, "ctime": 1748942728.9952161, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 9010873, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1738083793.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": 7, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 06 June 2025 00:58:30 -0400 (0:00:00.334) 0:00:18.471 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 06 June 2025 00:58:30 -0400 (0:00:00.041) 0:00:18.513 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "AD-SUPPORT-LEGACY", "AD-SUPPORT", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-SHA1", "OSPP", "SHA1" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 06 June 2025 00:58:30 -0400 (0:00:00.017) 0:00:18.530 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.157287", "end": "2025-06-06 00:58:31.324852", "rc": 0, "start": "2025-06-06 00:58:31.167565" } STDOUT: Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 06 June 2025 00:58:31 -0400 (0:00:00.502) 0:00:19.032 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 06 June 2025 00:58:31 -0400 (0:00:00.022) 0:00:19.055 *********** included: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 06 June 2025 00:58:31 -0400 (0:00:00.019) 0:00:19.075 *********** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.046216", "end": "2025-06-06 00:58:31.749291", "rc": 0, "start": "2025-06-06 00:58:31.703075" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 06 June 2025 00:58:31 -0400 (0:00:00.379) 0:00:19.454 *********** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:86 Friday 06 June 2025 00:58:31 -0400 (0:00:00.022) 0:00:19.476 *********** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Friday 06 June 2025 00:58:31 -0400 (0:00:00.003) 0:00:19.480 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(false)", "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Friday 06 June 2025 00:58:31 -0400 (0:00:00.033) 0:00:19.513 *********** skipping: [managed-node2] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(false)", "skip_reason": "Conditional result was False" } TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:88 Friday 06 June 2025 00:58:31 -0400 (0:00:00.032) 0:00:19.546 *********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=81 changed=3 unreachable=0 failed=0 skipped=43 rescued=2 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [ { "ansible_version": "2.17.12", "delta": "0:00:00.045532", "end_time": "2025-06-06 00:58:24.874592", "host": "managed-node2", "message": "non-zero return code", "rc": 1, "start_time": "2025-06-06 00:58:24.829060", "stderr": "Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies)", "task_name": "Update crypto policy if needed", "task_path": "/tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75" }, { "ansible_version": "2.17.12", "delta": "0:00:00.060396", "end_time": "2025-06-06 00:58:28.051795", "host": "managed-node2", "message": "non-zero return code", "rc": 1, "start_time": "2025-06-06 00:58:27.991399", "stderr": "Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules)", "task_name": "Update crypto policy if needed", "task_path": "/tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75" } ] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Friday 06 June 2025 00:58:31 -0400 (0:00:00.033) 0:00:19.579 *********** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.37s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.28s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.28s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.26s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.26s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.02s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.50s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.47s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.47s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.44s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.42s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.42s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.40s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.39s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.38s /tmp/collections-V9d/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.38s /tmp/collections-V9d/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.38s /tmp/collections-V9d/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.38s /tmp/collections-V9d/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.38s /tmp/collections-V9d/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.38s /tmp/collections-V9d/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3