ansible-playbook [core 2.17.5] 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-65t executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_update.yml ***************************************************** 1 plays in /tmp/collections-65t/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-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Saturday 26 October 2024 00:26:51 -0400 (0:00:00.012) 0:00:00.012 ****** [WARNING]: Platform linux on host managed-node3 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-node3] TASK [Set correct base policy] ************************************************* task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Saturday 26 October 2024 00:26:52 -0400 (0:00:01.190) 0:00:01.203 ****** included: fedora.linux_system_roles.crypto_policies for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 26 October 2024 00:26:52 -0400 (0:00:00.062) 0:00:01.266 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.024) 0:00:01.290 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.038) 0:00:01.329 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.451) 0:00:01.780 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.026) 0:00:01.806 ****** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.355) 0:00:02.162 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.035) 0:00:02.198 ****** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 26 October 2024 00:26:53 -0400 (0:00:00.056) 0:00:02.255 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 26 October 2024 00:26:55 -0400 (0:00:01.496) 0:00:03.751 ****** skipping: [managed-node3] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 26 October 2024 00:26:55 -0400 (0:00:00.045) 0:00:03.797 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 26 October 2024 00:26:55 -0400 (0:00:00.046) 0:00:03.843 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 26 October 2024 00:26:55 -0400 (0:00:00.039) 0:00:03.883 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:26:55 -0400 (0:00:00.020) 0:00:03.904 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049330", "end": "2024-10-26 00:26:56.103817", "rc": 0, "start": "2024-10-26 00:26:56.054487" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:26:56 -0400 (0:00:00.517) 0:00:04.421 ****** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 26 October 2024 00:26:56 -0400 (0:00:00.020) 0:00:04.442 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1729708832.653, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826916, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826917, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 26 October 2024 00:26:56 -0400 (0:00:00.519) 0:00:04.961 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 26 October 2024 00:26:56 -0400 (0:00:00.052) 0:00:05.013 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804557, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.360) 0:00:05.374 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.042) 0:00:05.417 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.020) 0:00:05.437 ****** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.122722", "end": "2024-10-26 00:26:57.602777", "rc": 0, "start": "2024-10-26 00:26:57.480055" } 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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.483) 0:00:05.921 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.026) 0:00:05.948 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:26:57 -0400 (0:00:00.022) 0:00:05.970 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051216", "end": "2024-10-26 00:26:58.069391", "rc": 0, "start": "2024-10-26 00:26:58.018175" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.419) 0:00:06.390 ****** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:14 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.023) 0:00:06.413 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:20 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.042) 0:00:06.456 ****** ok: [managed-node3] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:24 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.019) 0:00:06.476 ****** included: fedora.linux_system_roles.crypto_policies for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.049) 0:00:06.525 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.024) 0:00:06.550 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.044) 0:00:06.594 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.021) 0:00:06.616 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.032) 0:00:06.649 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.032) 0:00:06.681 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.025) 0:00:06.706 ****** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 26 October 2024 00:26:58 -0400 (0:00:00.044) 0:00:06.751 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 26 October 2024 00:26:59 -0400 (0:00:01.289) 0:00:08.041 ****** skipping: [managed-node3] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 26 October 2024 00:26:59 -0400 (0:00:00.041) 0:00:08.082 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 26 October 2024 00:26:59 -0400 (0:00:00.042) 0:00:08.125 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 26 October 2024 00:26:59 -0400 (0:00:00.039) 0:00:08.164 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:26:59 -0400 (0:00:00.022) 0:00:08.187 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049148", "end": "2024-10-26 00:27:00.263981", "rc": 0, "start": "2024-10-26 00:27:00.214833" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:00 -0400 (0:00:00.398) 0:00:08.585 ****** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 26 October 2024 00:27:00 -0400 (0:00:00.022) 0:00:08.607 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1729708832.653, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826916, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826917, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916817.5245497, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 26 October 2024 00:27:00 -0400 (0:00:00.373) 0:00:08.981 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 26 October 2024 00:27:00 -0400 (0:00:00.065) 0:00:09.046 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804557, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.380) 0:00:09.427 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.044) 0:00:09.471 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.020) 0:00:09.492 ****** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.273586", "end": "2024-10-26 00:27:01.808996", "rc": 0, "start": "2024-10-26 00:27:01.535410" } 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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.633) 0:00:10.125 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.027) 0:00:10.153 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:27:01 -0400 (0:00:00.022) 0:00:10.175 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050841", "end": "2024-10-26 00:27:02.261119", "rc": 0, "start": "2024-10-26 00:27:02.210278" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.408) 0:00:10.583 ****** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:30 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.029) 0:00:10.612 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:38 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.041) 0:00:10.653 ****** included: fedora.linux_system_roles.crypto_policies for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.035) 0:00:10.689 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.024) 0:00:10.713 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.043) 0:00:10.757 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.021) 0:00:10.779 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.021) 0:00:10.801 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.026) 0:00:10.827 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.026) 0:00:10.854 ****** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 26 October 2024 00:27:02 -0400 (0:00:00.056) 0:00:10.910 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 26 October 2024 00:27:03 -0400 (0:00:01.334) 0:00:12.244 ****** skipping: [managed-node3] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.036) 0:00:12.281 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.052) 0:00:12.334 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.058) 0:00:12.392 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.034) 0:00:12.427 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051157", "end": "2024-10-26 00:27:04.517324", "rc": 0, "start": "2024-10-26 00:27:04.466167" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.421) 0:00:12.849 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.022) 0:00:12.871 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1729916821.5785253, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826916, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826917, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916817.5245497, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 26 October 2024 00:27:04 -0400 (0:00:00.375) 0:00:13.247 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.067) 0:00:13.315 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804557, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916821.7185245, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.396) 0:00:13.711 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.049) 0:00:13.761 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.020) 0:00:13.781 ****** fatal: [managed-node3]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.050251", "end": "2024-10-26 00:27:05.873165", "rc": 1, "start": "2024-10-26 00:27:05.822914" } 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-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:48 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.409) 0:00:14.191 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:57 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.026) 0:00:14.217 ****** included: fedora.linux_system_roles.crypto_policies for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 26 October 2024 00:27:05 -0400 (0:00:00.035) 0:00:14.252 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.025) 0:00:14.277 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.038) 0:00:14.316 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.024) 0:00:14.340 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.024) 0:00:14.364 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.022) 0:00:14.387 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.021) 0:00:14.408 ****** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 26 October 2024 00:27:06 -0400 (0:00:00.037) 0:00:14.446 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 26 October 2024 00:27:07 -0400 (0:00:01.342) 0:00:15.789 ****** skipping: [managed-node3] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 26 October 2024 00:27:07 -0400 (0:00:00.044) 0:00:15.833 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 26 October 2024 00:27:07 -0400 (0:00:00.045) 0:00:15.878 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 26 October 2024 00:27:07 -0400 (0:00:00.039) 0:00:15.917 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:27:07 -0400 (0:00:00.021) 0:00:15.939 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.050601", "end": "2024-10-26 00:27:08.041515", "rc": 0, "start": "2024-10-26 00:27:07.990914" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:08 -0400 (0:00:00.431) 0:00:16.371 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 26 October 2024 00:27:08 -0400 (0:00:00.023) 0:00:16.394 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1729916821.5785253, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826916, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826917, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916817.5245497, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 26 October 2024 00:27:08 -0400 (0:00:00.370) 0:00:16.764 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 26 October 2024 00:27:08 -0400 (0:00:00.065) 0:00:16.830 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804557, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916821.7185245, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 26 October 2024 00:27:08 -0400 (0:00:00.400) 0:00:17.230 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.049) 0:00:17.279 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.032) 0:00:17.311 ****** fatal: [managed-node3]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.067694", "end": "2024-10-26 00:27:09.423914", "rc": 1, "start": "2024-10-26 00:27:09.356220" } 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-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:67 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.430) 0:00:17.742 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.020) 0:00:17.762 ****** included: fedora.linux_system_roles.crypto_policies for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.056) 0:00:17.818 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.027) 0:00:17.846 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.040) 0:00:17.886 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.021) 0:00:17.908 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.022) 0:00:17.931 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.022) 0:00:17.953 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.022) 0:00:17.976 ****** skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (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-node3] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Saturday 26 October 2024 00:27:09 -0400 (0:00:00.037) 0:00:18.013 ****** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: crypto-policies crypto-policies-scripts TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Saturday 26 October 2024 00:27:11 -0400 (0:00:01.355) 0:00:19.369 ****** skipping: [managed-node3] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.040) 0:00:19.410 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.038) 0:00:19.448 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.036) 0:00:19.484 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.022) 0:00:19.507 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049470", "end": "2024-10-26 00:27:11.589997", "rc": 0, "start": "2024-10-26 00:27:11.540527" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.401) 0:00:19.909 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Saturday 26 October 2024 00:27:11 -0400 (0:00:00.021) 0:00:19.931 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1729916821.5785253, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826916, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826917, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826918, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826919, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916817.5245497, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 8826920, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Saturday 26 October 2024 00:27:12 -0400 (0:00:00.360) 0:00:20.291 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Saturday 26 October 2024 00:27:12 -0400 (0:00:00.046) 0:00:20.337 ****** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804557, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804558, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804559, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804560, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1729916821.7185245, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804561, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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": 1725524227.0, "ctime": 1729708719.266, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 12804563, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1725524227.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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Saturday 26 October 2024 00:27:12 -0400 (0:00:00.355) 0:00:20.693 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Saturday 26 October 2024 00:27:12 -0400 (0:00:00.046) 0:00:20.739 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Saturday 26 October 2024 00:27:12 -0400 (0:00:00.019) 0:00:20.759 ****** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.172154", "end": "2024-10-26 00:27:12.974950", "rc": 0, "start": "2024-10-26 00:27:12.802796" } 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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.536) 0:00:21.296 ****** ok: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.026) 0:00:21.322 ****** included: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.022) 0:00:21.345 ****** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.051230", "end": "2024-10-26 00:27:13.430971", "rc": 0, "start": "2024-10-26 00:27:13.379741" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.404) 0:00:21.749 ****** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:86 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.024) 0:00:21.774 ****** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 META: triggered running handlers for managed-node3 RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.006) 0:00:21.780 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.038) 0:00:21.818 ****** skipping: [managed-node3] => { "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-65t/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:88 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.037) 0:00:21.856 ****** ok: [managed-node3] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node3 : ok=81 changed=3 unreachable=0 failed=0 skipped=43 rescued=2 ignored=0 Saturday 26 October 2024 00:27:13 -0400 (0:00:00.051) 0:00:21.908 ****** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.50s /tmp/collections-65t/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.36s /tmp/collections-65t/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.34s /tmp/collections-65t/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.33s /tmp/collections-65t/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.29s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.19s /tmp/collections-65t/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.63s /tmp/collections-65t/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.54s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.52s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.52s /tmp/collections-65t/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.48s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.45s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.43s /tmp/collections-65t/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.43s /tmp/collections-65t/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.42s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.42s /tmp/collections-65t/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.41s /tmp/collections-65t/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.41s /tmp/collections-65t/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.40s /tmp/collections-65t/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.40s /tmp/collections-65t/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3