ansible-playbook [core 2.17.6] 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-bRn executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 13.3.1 20240913 (Red Hat 13.3.1-3)] (/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-bRn/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-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Friday 29 November 2024 23:27:37 -0500 (0:00:00.015) 0:00:00.015 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Set correct base policy] ************************************************* task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Friday 29 November 2024 23:27:38 -0500 (0:00:01.376) 0:00:01.392 ******* included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 29 November 2024 23:27:38 -0500 (0:00:00.084) 0:00:01.476 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 29 November 2024 23:27:38 -0500 (0:00:00.038) 0:00:01.515 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 29 November 2024 23:27:38 -0500 (0:00:00.061) 0:00:01.576 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 29 November 2024 23:27:39 -0500 (0:00:00.538) 0:00:02.115 ******* ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 29 November 2024 23:27:39 -0500 (0:00:00.039) 0:00:02.154 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 29 November 2024 23:27:39 -0500 (0:00:00.410) 0:00:02.565 ******* ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 29 November 2024 23:27:39 -0500 (0:00:00.041) 0:00:02.606 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 29 November 2024 23:27:39 -0500 (0:00:00.060) 0:00:02.667 ******* ok: [managed-node2] => { "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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 29 November 2024 23:27:41 -0500 (0:00:02.072) 0:00:04.740 ******* skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 29 November 2024 23:27:41 -0500 (0:00:00.039) 0:00:04.779 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 29 November 2024 23:27:41 -0500 (0:00:00.038) 0:00:04.817 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 29 November 2024 23:27:42 -0500 (0:00:00.035) 0:00:04.853 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:42 -0500 (0:00:00.023) 0:00:04.876 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065440", "end": "2024-11-29 23:27:42.555624", "rc": 0, "start": "2024-11-29 23:27:42.490184" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:42 -0500 (0:00:00.574) 0:00:05.450 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 29 November 2024 23:27:42 -0500 (0:00:00.020) 0:00:05.471 ******* ok: [managed-node2] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147815, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147816, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1732182604.722, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 29 November 2024 23:27:43 -0500 (0:00:00.530) 0:00:06.002 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "BSI", "FEDORA38", "FIPS", "LEGACY", "GOST-ONLY", "NEXT", "TEST-FEDORA39", "EMPTY", "DEFAULT", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 29 November 2024 23:27:43 -0500 (0:00:00.075) 0:00:06.077 ******* ok: [managed-node2] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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 }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 29 November 2024 23:27:43 -0500 (0:00:00.423) 0:00:06.501 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 29 November 2024 23:27:43 -0500 (0:00:00.049) 0:00:06.551 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 29 November 2024 23:27:43 -0500 (0:00:00.026) 0:00:06.577 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.146861", "end": "2024-11-29 23:27:44.240719", "rc": 0, "start": "2024-11-29 23:27:44.093858" } 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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 29 November 2024 23:27:44 -0500 (0:00:00.558) 0:00:07.136 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 29 November 2024 23:27:44 -0500 (0:00:00.033) 0:00:07.170 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:44 -0500 (0:00:00.028) 0:00:07.198 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066459", "end": "2024-11-29 23:27:44.766664", "rc": 0, "start": "2024-11-29 23:27:44.700205" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:44 -0500 (0:00:00.467) 0:00:07.666 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:14 Friday 29 November 2024 23:27:44 -0500 (0:00:00.026) 0:00:07.692 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:20 Friday 29 November 2024 23:27:44 -0500 (0:00:00.050) 0:00:07.743 ******* ok: [managed-node2] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:24 Friday 29 November 2024 23:27:44 -0500 (0:00:00.025) 0:00:07.768 ******* included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 29 November 2024 23:27:44 -0500 (0:00:00.057) 0:00:07.826 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 29 November 2024 23:27:45 -0500 (0:00:00.025) 0:00:07.852 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 29 November 2024 23:27:45 -0500 (0:00:00.039) 0:00:07.891 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 29 November 2024 23:27:45 -0500 (0:00:00.021) 0:00:07.912 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 29 November 2024 23:27:45 -0500 (0:00:00.019) 0:00:07.932 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 29 November 2024 23:27:45 -0500 (0:00:00.020) 0:00:07.952 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 29 November 2024 23:27:45 -0500 (0:00:00.020) 0:00:07.973 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 29 November 2024 23:27:45 -0500 (0:00:00.037) 0:00:08.010 ******* ok: [managed-node2] => { "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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 29 November 2024 23:27:47 -0500 (0:00:01.916) 0:00:09.927 ******* skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 29 November 2024 23:27:47 -0500 (0:00:00.041) 0:00:09.968 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 29 November 2024 23:27:47 -0500 (0:00:00.036) 0:00:10.005 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 29 November 2024 23:27:47 -0500 (0:00:00.036) 0:00:10.041 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:47 -0500 (0:00:00.022) 0:00:10.063 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066832", "end": "2024-11-29 23:27:47.625314", "rc": 0, "start": "2024-11-29 23:27:47.558482" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:47 -0500 (0:00:00.458) 0:00:10.521 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 29 November 2024 23:27:47 -0500 (0:00:00.021) 0:00:10.543 ******* ok: [managed-node2] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1732940864.1521804, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147815, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147816, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1732182604.722, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 29 November 2024 23:27:48 -0500 (0:00:00.399) 0:00:10.942 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "BSI", "FEDORA38", "FIPS", "LEGACY", "GOST-ONLY", "NEXT", "TEST-FEDORA39", "EMPTY", "DEFAULT", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 29 November 2024 23:27:48 -0500 (0:00:00.046) 0:00:10.989 ******* ok: [managed-node2] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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 }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 29 November 2024 23:27:48 -0500 (0:00:00.401) 0:00:11.390 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 29 November 2024 23:27:48 -0500 (0:00:00.069) 0:00:11.459 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 29 November 2024 23:27:48 -0500 (0:00:00.042) 0:00:11.501 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.180488", "end": "2024-11-29 23:27:49.215457", "rc": 0, "start": "2024-11-29 23:27:49.034969" } 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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 29 November 2024 23:27:49 -0500 (0:00:00.617) 0:00:12.119 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 29 November 2024 23:27:49 -0500 (0:00:00.040) 0:00:12.160 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:49 -0500 (0:00:00.028) 0:00:12.188 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065498", "end": "2024-11-29 23:27:49.757880", "rc": 0, "start": "2024-11-29 23:27:49.692382" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:49 -0500 (0:00:00.475) 0:00:12.664 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:30 Friday 29 November 2024 23:27:49 -0500 (0:00:00.033) 0:00:12.697 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:38 Friday 29 November 2024 23:27:49 -0500 (0:00:00.054) 0:00:12.752 ******* included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 29 November 2024 23:27:49 -0500 (0:00:00.049) 0:00:12.802 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 29 November 2024 23:27:49 -0500 (0:00:00.029) 0:00:12.831 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 29 November 2024 23:27:50 -0500 (0:00:00.041) 0:00:12.872 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 29 November 2024 23:27:50 -0500 (0:00:00.022) 0:00:12.895 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 29 November 2024 23:27:50 -0500 (0:00:00.021) 0:00:12.917 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 29 November 2024 23:27:50 -0500 (0:00:00.019) 0:00:12.936 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 29 November 2024 23:27:50 -0500 (0:00:00.021) 0:00:12.958 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 29 November 2024 23:27:50 -0500 (0:00:00.037) 0:00:12.995 ******* ok: [managed-node2] => { "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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 29 November 2024 23:27:52 -0500 (0:00:01.948) 0:00:14.944 ******* skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 29 November 2024 23:27:52 -0500 (0:00:00.062) 0:00:15.007 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 29 November 2024 23:27:52 -0500 (0:00:00.061) 0:00:15.069 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 29 November 2024 23:27:52 -0500 (0:00:00.061) 0:00:15.131 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:52 -0500 (0:00:00.042) 0:00:15.173 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065464", "end": "2024-11-29 23:27:52.747328", "rc": 0, "start": "2024-11-29 23:27:52.681864" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:52 -0500 (0:00:00.469) 0:00:15.643 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 29 November 2024 23:27:52 -0500 (0:00:00.021) 0:00:15.664 ******* ok: [managed-node2] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1732940864.1521804, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147815, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147816, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1732940869.0921755, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 29 November 2024 23:27:53 -0500 (0:00:00.403) 0:00:16.068 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "BSI", "FEDORA38", "FIPS", "LEGACY", "GOST-ONLY", "NEXT", "TEST-FEDORA39", "EMPTY", "DEFAULT", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 29 November 2024 23:27:53 -0500 (0:00:00.047) 0:00:16.115 ******* ok: [managed-node2] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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 }, { "atime": 1732940869.1061757, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 29 November 2024 23:27:53 -0500 (0:00:00.402) 0:00:16.518 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 29 November 2024 23:27:53 -0500 (0:00:00.053) 0:00:16.572 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 29 November 2024 23:27:53 -0500 (0:00:00.019) 0:00:16.592 ******* fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.066459", "end": "2024-11-29 23:27:54.163381", "rc": 1, "start": "2024-11-29 23:27:54.096922" } 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-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:48 Friday 29 November 2024 23:27:54 -0500 (0:00:00.467) 0:00:17.059 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:57 Friday 29 November 2024 23:27:54 -0500 (0:00:00.022) 0:00:17.081 ******* included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 29 November 2024 23:27:54 -0500 (0:00:00.039) 0:00:17.121 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 29 November 2024 23:27:54 -0500 (0:00:00.031) 0:00:17.152 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 29 November 2024 23:27:54 -0500 (0:00:00.055) 0:00:17.208 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 29 November 2024 23:27:54 -0500 (0:00:00.036) 0:00:17.244 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 29 November 2024 23:27:54 -0500 (0:00:00.034) 0:00:17.278 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 29 November 2024 23:27:54 -0500 (0:00:00.035) 0:00:17.314 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 29 November 2024 23:27:54 -0500 (0:00:00.035) 0:00:17.350 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 29 November 2024 23:27:54 -0500 (0:00:00.061) 0:00:17.411 ******* ok: [managed-node2] => { "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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 29 November 2024 23:27:56 -0500 (0:00:01.951) 0:00:19.363 ******* skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 29 November 2024 23:27:56 -0500 (0:00:00.038) 0:00:19.402 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 29 November 2024 23:27:56 -0500 (0:00:00.040) 0:00:19.442 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 29 November 2024 23:27:56 -0500 (0:00:00.047) 0:00:19.490 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:27:56 -0500 (0:00:00.039) 0:00:19.529 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066111", "end": "2024-11-29 23:27:57.117445", "rc": 0, "start": "2024-11-29 23:27:57.051334" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:27:57 -0500 (0:00:00.482) 0:00:20.012 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 29 November 2024 23:27:57 -0500 (0:00:00.021) 0:00:20.034 ******* ok: [managed-node2] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1732940864.1521804, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147815, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147816, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1732940869.0921755, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 29 November 2024 23:27:57 -0500 (0:00:00.406) 0:00:20.440 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "BSI", "FEDORA38", "FIPS", "LEGACY", "GOST-ONLY", "NEXT", "TEST-FEDORA39", "EMPTY", "DEFAULT", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 29 November 2024 23:27:57 -0500 (0:00:00.050) 0:00:20.491 ******* ok: [managed-node2] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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 }, { "atime": 1732940869.1061757, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 29 November 2024 23:27:58 -0500 (0:00:00.396) 0:00:20.888 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 29 November 2024 23:27:58 -0500 (0:00:00.050) 0:00:20.938 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 29 November 2024 23:27:58 -0500 (0:00:00.020) 0:00:20.959 ******* fatal: [managed-node2]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.080416", "end": "2024-11-29 23:27:58.542766", "rc": 1, "start": "2024-11-29 23:27:58.462350" } 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-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:67 Friday 29 November 2024 23:27:58 -0500 (0:00:00.481) 0:00:21.440 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Friday 29 November 2024 23:27:58 -0500 (0:00:00.022) 0:00:21.462 ******* included: fedora.linux_system_roles.crypto_policies for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Friday 29 November 2024 23:27:58 -0500 (0:00:00.064) 0:00:21.527 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Friday 29 November 2024 23:27:58 -0500 (0:00:00.025) 0:00:21.552 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Friday 29 November 2024 23:27:58 -0500 (0:00:00.042) 0:00:21.595 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Friday 29 November 2024 23:27:58 -0500 (0:00:00.021) 0:00:21.617 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Friday 29 November 2024 23:27:58 -0500 (0:00:00.026) 0:00:21.644 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Friday 29 November 2024 23:27:58 -0500 (0:00:00.021) 0:00:21.665 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __crypto_policies_is_transactional is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Friday 29 November 2024 23:27:58 -0500 (0:00:00.024) 0:00:21.689 ******* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Friday 29 November 2024 23:27:58 -0500 (0:00:00.039) 0:00:21.728 ******* ok: [managed-node2] => { "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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Friday 29 November 2024 23:28:00 -0500 (0:00:01.950) 0:00:23.678 ******* skipping: [managed-node2] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Friday 29 November 2024 23:28:00 -0500 (0:00:00.038) 0:00:23.717 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Friday 29 November 2024 23:28:00 -0500 (0:00:00.037) 0:00:23.754 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__crypto_policies_is_transactional | d(false)", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Friday 29 November 2024 23:28:00 -0500 (0:00:00.037) 0:00:23.792 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:28:00 -0500 (0:00:00.022) 0:00:23.815 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067812", "end": "2024-11-29 23:28:01.383196", "rc": 0, "start": "2024-11-29 23:28:01.315384" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:28:01 -0500 (0:00:00.465) 0:00:24.280 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Friday 29 November 2024 23:28:01 -0500 (0:00:00.021) 0:00:24.302 ******* ok: [managed-node2] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147807, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147810, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147811, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1732940864.1521804, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147814, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147813, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147815, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147816, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147809, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1732940869.0921755, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147808, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Friday 29 November 2024 23:28:01 -0500 (0:00:00.411) 0:00:24.714 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "BSI", "FEDORA38", "FIPS", "LEGACY", "GOST-ONLY", "NEXT", "TEST-FEDORA39", "EMPTY", "DEFAULT", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Friday 29 November 2024 23:28:01 -0500 (0:00:00.045) 0:00:24.759 ******* ok: [managed-node2] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147827, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147821, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147819, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147826, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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 }, { "atime": 1732940869.1061757, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147824, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147820, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147823, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.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": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147822, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1732182530.964, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 147818, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Friday 29 November 2024 23:28:02 -0500 (0:00:00.409) 0:00:25.169 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Friday 29 November 2024 23:28:02 -0500 (0:00:00.048) 0:00:25.217 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "GOST", "ECDHE-ONLY", "SHA1", "NO-SHA1", "OSPP", "FEDORA32", "NO-ENFORCE-EMS", "NO-CAMELLIA", "AD-SUPPORT" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Friday 29 November 2024 23:28:02 -0500 (0:00:00.020) 0:00:25.238 ******* Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.200686", "end": "2024-11-29 23:28:02.940302", "rc": 0, "start": "2024-11-29 23:28:02.739616" } 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-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Friday 29 November 2024 23:28:02 -0500 (0:00:00.598) 0:00:25.837 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Friday 29 November 2024 23:28:03 -0500 (0:00:00.026) 0:00:25.863 ******* included: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Friday 29 November 2024 23:28:03 -0500 (0:00:00.026) 0:00:25.889 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066254", "end": "2024-11-29 23:28:03.443900", "rc": 0, "start": "2024-11-29 23:28:03.377646" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Friday 29 November 2024 23:28:03 -0500 (0:00:00.450) 0:00:26.339 ******* ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:86 Friday 29 November 2024 23:28:03 -0500 (0:00:00.025) 0:00:26.365 ******* NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node2 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Friday 29 November 2024 23:28:03 -0500 (0:00:00.004) 0:00:26.369 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(false)", "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Friday 29 November 2024 23:28:03 -0500 (0:00:00.038) 0:00:26.407 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "crypto_policies_reboot_ok | d(false)", "skip_reason": "Conditional result was False" } TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:88 Friday 29 November 2024 23:28:03 -0500 (0:00:00.039) 0:00:26.447 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed-node2 : ok=81 changed=3 unreachable=0 failed=0 skipped=43 rescued=2 ignored=0 Friday 29 November 2024 23:28:03 -0500 (0:00:00.037) 0:00:26.484 ******* =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.07s /tmp/collections-bRn/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.95s /tmp/collections-bRn/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.95s /tmp/collections-bRn/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.95s /tmp/collections-bRn/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.92s /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 1.38s /tmp/collections-bRn/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.62s /tmp/collections-bRn/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.60s /tmp/collections-bRn/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.57s /tmp/collections-bRn/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.56s /tmp/collections-bRn/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.54s /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.53s /tmp/collections-bRn/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.48s /tmp/collections-bRn/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-bRn/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.48s /tmp/collections-bRn/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.47s /tmp/collections-bRn/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.47s /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.47s /tmp/collections-bRn/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.47s /tmp/collections-bRn/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.46s /tmp/collections-bRn/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3