[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/tmp.lGe5hqUKa5 executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 14.1.1 20240607 (Red Hat 14.1.1-5)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_update.yml ***************************************************** 1 plays in /tmp/tmp.lGe5hqUKa5/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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Monday 29 July 2024 14:45:45 -0400 (0:00:00.008) 0:00:00.008 *********** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Set correct base policy] ************************************************* task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Monday 29 July 2024 14:45:46 -0400 (0:00:01.752) 0:00:01.761 *********** included: fedora.linux_system_roles.crypto_policies for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:47 -0400 (0:00:00.037) 0:00:01.799 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:47 -0400 (0:00:00.022) 0:00:01.821 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:47 -0400 (0:00:00.023) 0:00:01.845 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:47 -0400 (0:00:00.485) 0:00:02.330 *********** ok: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:47 -0400 (0:00:00.022) 0:00:02.353 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:47 -0400 (0:00:00.399) 0:00:02.752 *********** ok: [managed_node1] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:45:48 -0400 (0:00:00.023) 0:00:02.775 *********** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:48 -0400 (0:00:00.034) 0:00:02.810 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:49 -0400 (0:00:01.581) 0:00:04.392 *********** skipping: [managed_node1] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:49 -0400 (0:00:00.020) 0:00:04.412 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:49 -0400 (0:00:00.019) 0:00:04.432 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:49 -0400 (0:00:00.020) 0:00:04.453 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:49 -0400 (0:00:00.018) 0:00:04.471 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.068156", "end": "2024-07-29 14:45:50.224219", "rc": 0, "start": "2024-07-29 14:45:50.156063" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:50 -0400 (0:00:00.577) 0:00:05.049 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:50 -0400 (0:00:00.017) 0:00:05.066 *********** ok: [managed_node1] => { "changed": false, "examined": 13, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148019, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148022, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1721811755.379, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148017, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148024, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148020, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148026, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA41.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2653, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 11, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:50 -0400 (0:00:00.479) 0:00:05.546 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "DEFAULT", "NEXT", "FIPS", "TEST-FEDORA41", "BSI", "EMPTY", "LEGACY", "TEST-FEDORA39", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:50 -0400 (0:00:00.026) 0:00:05.573 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148032, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:51 -0400 (0:00:00.388) 0:00:05.961 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:51 -0400 (0:00:00.028) 0:00:05.990 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:51 -0400 (0:00:00.019) 0:00:06.009 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed_node1] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.149631", "end": "2024-07-29 14:45:51.723265", "rc": 0, "start": "2024-07-29 14:45:51.573634" } 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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:51 -0400 (0:00:00.536) 0:00:06.545 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:51 -0400 (0:00:00.025) 0:00:06.571 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:51 -0400 (0:00:00.021) 0:00:06.593 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065080", "end": "2024-07-29 14:45:52.225373", "rc": 0, "start": "2024-07-29 14:45:52.160293" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:52 -0400 (0:00:00.456) 0:00:07.049 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:14 Monday 29 July 2024 14:45:52 -0400 (0:00:00.021) 0:00:07.071 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:20 Monday 29 July 2024 14:45:52 -0400 (0:00:00.022) 0:00:07.093 *********** ok: [managed_node1] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:24 Monday 29 July 2024 14:45:52 -0400 (0:00:00.017) 0:00:07.111 *********** included: fedora.linux_system_roles.crypto_policies for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:52 -0400 (0:00:00.045) 0:00:07.156 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:52 -0400 (0:00:00.020) 0:00:07.177 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:52 -0400 (0:00:00.021) 0:00:07.199 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:52 -0400 (0:00:00.020) 0:00:07.219 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:52 -0400 (0:00:00.017) 0:00:07.237 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:52 -0400 (0:00:00.021) 0:00:07.258 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:45:52 -0400 (0:00:00.022) 0:00:07.280 *********** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:52 -0400 (0:00:00.032) 0:00:07.313 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:54 -0400 (0:00:01.514) 0:00:08.827 *********** skipping: [managed_node1] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:54 -0400 (0:00:00.021) 0:00:08.849 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:54 -0400 (0:00:00.022) 0:00:08.872 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:54 -0400 (0:00:00.020) 0:00:08.892 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:54 -0400 (0:00:00.018) 0:00:08.911 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064094", "end": "2024-07-29 14:45:54.529738", "rc": 0, "start": "2024-07-29 14:45:54.465644" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:54 -0400 (0:00:00.442) 0:00:09.354 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:54 -0400 (0:00:00.018) 0:00:09.373 *********** ok: [managed_node1] => { "changed": false, "examined": 13, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148019, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148022, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1721811755.379, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148017, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148024, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148020, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148026, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA41.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2653, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278751.6319003, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 11, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:55 -0400 (0:00:00.396) 0:00:09.769 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "DEFAULT", "NEXT", "FIPS", "TEST-FEDORA41", "BSI", "EMPTY", "LEGACY", "TEST-FEDORA39", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:55 -0400 (0:00:00.027) 0:00:09.797 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148032, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:55 -0400 (0:00:00.389) 0:00:10.186 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:55 -0400 (0:00:00.027) 0:00:10.213 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:55 -0400 (0:00:00.020) 0:00:10.234 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed_node1] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.263367", "end": "2024-07-29 14:45:56.064866", "rc": 0, "start": "2024-07-29 14:45:55.801499" } 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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:56 -0400 (0:00:00.655) 0:00:10.889 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:56 -0400 (0:00:00.026) 0:00:10.916 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:56 -0400 (0:00:00.022) 0:00:10.938 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064610", "end": "2024-07-29 14:45:56.618178", "rc": 0, "start": "2024-07-29 14:45:56.553568" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:56 -0400 (0:00:00.501) 0:00:11.440 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:30 Monday 29 July 2024 14:45:56 -0400 (0:00:00.021) 0:00:11.461 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:38 Monday 29 July 2024 14:45:56 -0400 (0:00:00.023) 0:00:11.485 *********** included: fedora.linux_system_roles.crypto_policies for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:56 -0400 (0:00:00.032) 0:00:11.517 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:56 -0400 (0:00:00.021) 0:00:11.538 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:56 -0400 (0:00:00.022) 0:00:11.561 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:56 -0400 (0:00:00.021) 0:00:11.582 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:56 -0400 (0:00:00.018) 0:00:11.601 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:56 -0400 (0:00:00.018) 0:00:11.620 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:45:56 -0400 (0:00:00.021) 0:00:11.641 *********** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:56 -0400 (0:00:00.035) 0:00:11.676 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:58 -0400 (0:00:01.425) 0:00:13.102 *********** skipping: [managed_node1] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:58 -0400 (0:00:00.022) 0:00:13.125 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:58 -0400 (0:00:00.020) 0:00:13.145 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:58 -0400 (0:00:00.020) 0:00:13.165 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:58 -0400 (0:00:00.019) 0:00:13.185 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.065027", "end": "2024-07-29 14:45:58.814247", "rc": 0, "start": "2024-07-29 14:45:58.749220" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:58 -0400 (0:00:00.453) 0:00:13.639 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:58 -0400 (0:00:00.019) 0:00:13.659 *********** ok: [managed_node1] => { "changed": false, "examined": 13, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148019, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148022, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278755.858901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148017, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148024, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148020, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148026, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA41.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2653, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278751.6319003, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 11, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:59 -0400 (0:00:00.402) 0:00:14.061 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "DEFAULT", "NEXT", "FIPS", "TEST-FEDORA41", "BSI", "EMPTY", "LEGACY", "TEST-FEDORA39", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:59 -0400 (0:00:00.027) 0:00:14.089 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 }, { "atime": 1722278755.871901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148032, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:59 -0400 (0:00:00.393) 0:00:14.482 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:59 -0400 (0:00:00.027) 0:00:14.509 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:59 -0400 (0:00:00.019) 0:00:14.529 *********** fatal: [managed_node1]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.066271", "end": "2024-07-29 14:46:00.166233", "rc": 1, "start": "2024-07-29 14:46:00.099962" } 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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:48 Monday 29 July 2024 14:46:00 -0400 (0:00:00.460) 0:00:14.989 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:57 Monday 29 July 2024 14:46:00 -0400 (0:00:00.019) 0:00:15.008 *********** included: fedora.linux_system_roles.crypto_policies for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:46:00 -0400 (0:00:00.032) 0:00:15.041 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:46:00 -0400 (0:00:00.023) 0:00:15.064 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:46:00 -0400 (0:00:00.023) 0:00:15.087 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:46:00 -0400 (0:00:00.020) 0:00:15.108 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:46:00 -0400 (0:00:00.022) 0:00:15.130 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:46:00 -0400 (0:00:00.020) 0:00:15.150 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:46:00 -0400 (0:00:00.020) 0:00:15.171 *********** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:46:00 -0400 (0:00:00.036) 0:00:15.207 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:46:01 -0400 (0:00:01.481) 0:00:16.688 *********** skipping: [managed_node1] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:46:01 -0400 (0:00:00.021) 0:00:16.709 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:46:01 -0400 (0:00:00.022) 0:00:16.732 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:46:01 -0400 (0:00:00.021) 0:00:16.753 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:46:02 -0400 (0:00:00.023) 0:00:16.777 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.069137", "end": "2024-07-29 14:46:02.413283", "rc": 0, "start": "2024-07-29 14:46:02.344146" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:46:02 -0400 (0:00:00.464) 0:00:17.241 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:46:02 -0400 (0:00:00.019) 0:00:17.261 *********** ok: [managed_node1] => { "changed": false, "examined": 13, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148019, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148022, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278755.858901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148017, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148024, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148020, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148026, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA41.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2653, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278751.6319003, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 11, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:46:02 -0400 (0:00:00.403) 0:00:17.665 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "DEFAULT", "NEXT", "FIPS", "TEST-FEDORA41", "BSI", "EMPTY", "LEGACY", "TEST-FEDORA39", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:46:02 -0400 (0:00:00.028) 0:00:17.693 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 }, { "atime": 1722278755.871901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148032, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:46:03 -0400 (0:00:00.397) 0:00:18.091 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:46:03 -0400 (0:00:00.027) 0:00:18.119 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:46:03 -0400 (0:00:00.019) 0:00:18.139 *********** fatal: [managed_node1]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.078171", "end": "2024-07-29 14:46:03.840241", "rc": 1, "start": "2024-07-29 14:46:03.762070" } 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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:67 Monday 29 July 2024 14:46:03 -0400 (0:00:00.522) 0:00:18.661 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Monday 29 July 2024 14:46:03 -0400 (0:00:00.019) 0:00:18.680 *********** included: fedora.linux_system_roles.crypto_policies for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:46:03 -0400 (0:00:00.052) 0:00:18.733 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:46:03 -0400 (0:00:00.022) 0:00:18.756 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:46:04 -0400 (0:00:00.029) 0:00:18.785 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:46:04 -0400 (0:00:00.020) 0:00:18.806 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:46:04 -0400 (0:00:00.020) 0:00:18.826 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:46:04 -0400 (0:00:00.022) 0:00:18.849 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:46:04 -0400 (0:00:00.020) 0:00:18.869 *********** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=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_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_40.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_40.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:46:04 -0400 (0:00:00.035) 0:00:18.905 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:46:05 -0400 (0:00:01.431) 0:00:20.336 *********** skipping: [managed_node1] => { "false_condition": "__crypto_policies_is_transactional | d(false)" } TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:46:05 -0400 (0:00:00.021) 0:00:20.358 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:46:05 -0400 (0:00:00.021) 0:00:20.380 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:46:05 -0400 (0:00:00.021) 0:00:20.401 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:46:05 -0400 (0:00:00.019) 0:00:20.421 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066216", "end": "2024-07-29 14:46:06.054078", "rc": 0, "start": "2024-07-29 14:46:05.987862" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:46:06 -0400 (0:00:00.456) 0:00:20.877 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:46:06 -0400 (0:00:00.018) 0:00:20.896 *********** ok: [managed_node1] => { "changed": false, "examined": 13, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148019, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148022, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278755.858901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148017, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148024, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148020, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148026, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA41.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2653, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148016, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148018, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1722278751.6319003, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148023, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148025, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148021, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 11, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:46:06 -0400 (0:00:00.396) 0:00:21.292 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FEDORA38", "GOST-ONLY", "DEFAULT", "NEXT", "FIPS", "TEST-FEDORA41", "BSI", "EMPTY", "LEGACY", "TEST-FEDORA39", "FUTURE" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:46:06 -0400 (0:00:00.029) 0:00:21.321 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148028, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 }, { "atime": 1722278755.871901, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148034, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148036, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148031, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148029, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148033, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148032, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148035, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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": 1715299200.0, "ctime": 1721811705.14, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148030, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1715299200.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 } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:46:06 -0400 (0:00:00.389) 0:00:21.711 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:46:06 -0400 (0:00:00.030) 0:00:21.742 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "TEST-PQ", "AD-SUPPORT", "NO-SHA1", "SHA1", "GOST", "ECDHE-ONLY", "NO-ENFORCE-EMS", "NO-CAMELLIA", "OSPP", "FEDORA32" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:46:06 -0400 (0:00:00.018) 0:00:21.760 *********** Notification for handler __crypto_policies_handler_modified has been saved. changed: [managed_node1] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.247433", "end": "2024-07-29 14:46:07.583229", "rc": 0, "start": "2024-07-29 14:46:07.335796" } 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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:46:07 -0400 (0:00:00.650) 0:00:22.411 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:46:07 -0400 (0:00:00.024) 0:00:22.436 *********** included: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed_node1 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:46:07 -0400 (0:00:00.020) 0:00:22.456 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.067524", "end": "2024-07-29 14:46:08.082781", "rc": 0, "start": "2024-07-29 14:46:08.015257" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:46:08 -0400 (0:00:00.449) 0:00:22.906 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:86 Monday 29 July 2024 14:46:08 -0400 (0:00:00.022) 0:00:22.929 *********** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed_node1 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Monday 29 July 2024 14:46:08 -0400 (0:00:00.005) 0:00:22.934 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Monday 29 July 2024 14:46:08 -0400 (0:00:00.024) 0:00:22.958 *********** skipping: [managed_node1] => { "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/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:88 Monday 29 July 2024 14:46:08 -0400 (0:00:00.022) 0:00:22.981 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=81 changed=3 unreachable=0 failed=0 skipped=43 rescued=2 ignored=0 Monday 29 July 2024 14:46:08 -0400 (0:00:00.031) 0:00:23.013 *********** =============================================================================== Gathering Facts --------------------------------------------------------- 1.75s /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.58s /tmp/tmp.lGe5hqUKa5/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.51s /tmp/tmp.lGe5hqUKa5/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.48s /tmp/tmp.lGe5hqUKa5/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.43s /tmp/tmp.lGe5hqUKa5/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.43s /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.66s /tmp/tmp.lGe5hqUKa5/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.65s /tmp/tmp.lGe5hqUKa5/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.58s /tmp/tmp.lGe5hqUKa5/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.54s /tmp/tmp.lGe5hqUKa5/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.52s /tmp/tmp.lGe5hqUKa5/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.50s /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.49s /tmp/tmp.lGe5hqUKa5/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.48s /tmp/tmp.lGe5hqUKa5/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.46s /tmp/tmp.lGe5hqUKa5/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.46s /tmp/tmp.lGe5hqUKa5/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.46s /tmp/tmp.lGe5hqUKa5/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/tmp.lGe5hqUKa5/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.45s /tmp/tmp.lGe5hqUKa5/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.45s /tmp/tmp.lGe5hqUKa5/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3