[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.0FzCDkEyIJ executable location = /usr/local/bin/ansible-playbook python version = 3.12.4 (main, Jun 7 2024, 00:00:00) [GCC 13.3.1 20240522 (Red Hat 13.3.1-1)] (/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_reload.yml ***************************************************** 1 plays in /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml PLAY [Ensure that crypto_policy_reload variable works] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:3 Monday 29 July 2024 14:44:50 -0400 (0:00:00.010) 0:00:00.010 *********** [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 [Run role to make sure all dependencies are installed] ******************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:8 Monday 29 July 2024 14:44:53 -0400 (0:00:03.322) 0:00:03.332 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:44:53 -0400 (0:00:00.049) 0:00:03.382 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:44:53 -0400 (0:00:00.027) 0:00:03.410 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:44:53 -0400 (0:00:00.027) 0:00:03.437 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:44:54 -0400 (0:00:00.505) 0:00:03.943 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:44:54 -0400 (0:00:00.030) 0:00:03.973 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:44:54 -0400 (0:00:00.376) 0:00:04.350 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:44:54 -0400 (0:00:00.029) 0:00:04.379 *********** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:44:54 -0400 (0:00:00.041) 0:00:04.421 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:40 -0400 (0:00:46.021) 0:00:50.442 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:40 -0400 (0:00:00.024) 0:00:50.467 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:40 -0400 (0:00:00.023) 0:00:50.491 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:40 -0400 (0:00:00.023) 0:00:50.514 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:40 -0400 (0:00:00.024) 0:00:50.538 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.182502", "end": "2024-07-29 14:45:41.278012", "rc": 0, "start": "2024-07-29 14:45:41.095510" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:41 -0400 (0:00:00.702) 0:00:51.241 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:41 -0400 (0:00:00.022) 0:00:51.263 *********** ok: [managed_node1] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148103, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721811714.596, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:41 -0400 (0:00:00.502) 0:00:51.766 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "BSI", "TEST-FEDORA39", "NEXT", "FEDORA38", "GOST-ONLY", "LEGACY", "DEFAULT", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:41 -0400 (0:00:00.034) 0:00:51.800 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:42 -0400 (0:00:00.388) 0:00:52.189 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:42 -0400 (0:00:00.033) 0:00:52.222 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:42 -0400 (0:00:00.021) 0:00:52.244 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:42 -0400 (0:00:00.023) 0:00:52.268 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:42 -0400 (0:00:00.026) 0:00:52.294 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:42 -0400 (0:00:00.024) 0:00:52.319 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.062323", "end": "2024-07-29 14:45:42.790472", "rc": 0, "start": "2024-07-29 14:45:42.728149" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:42 -0400 (0:00:00.437) 0:00:52.756 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get SSHD pid before policy update] *************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:12 Monday 29 July 2024 14:45:42 -0400 (0:00:00.026) 0:00:52.782 *********** ok: [managed_node1] => { "changed": false, "content": "ODY4Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Change policy from DEFAULT TO LEGACY (disable reload)] ******************* task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:17 Monday 29 July 2024 14:45:43 -0400 (0:00:00.482) 0:00:53.265 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:43 -0400 (0:00:00.058) 0:00:53.323 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:43 -0400 (0:00:00.028) 0:00:53.352 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:43 -0400 (0:00:00.028) 0:00:53.380 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:43 -0400 (0:00:00.022) 0:00:53.402 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:43 -0400 (0:00:00.026) 0:00:53.429 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:43 -0400 (0:00:00.023) 0:00:53.452 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:45:43 -0400 (0:00:00.023) 0:00:53.475 *********** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:43 -0400 (0:00:00.041) 0:00:53.517 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:45 -0400 (0:00:01.770) 0:00:55.288 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:45 -0400 (0:00:00.026) 0:00:55.314 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:45 -0400 (0:00:00.024) 0:00:55.339 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:45 -0400 (0:00:00.024) 0:00:55.363 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:45 -0400 (0:00:00.023) 0:00:55.387 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.063471", "end": "2024-07-29 14:45:45.865855", "rc": 0, "start": "2024-07-29 14:45:45.802384" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:45 -0400 (0:00:00.443) 0:00:55.830 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:45 -0400 (0:00:00.024) 0:00:55.854 *********** ok: [managed_node1] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148103, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721811714.596, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:46 -0400 (0:00:00.392) 0:00:56.246 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "BSI", "TEST-FEDORA39", "NEXT", "FEDORA38", "GOST-ONLY", "LEGACY", "DEFAULT", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:46 -0400 (0:00:00.035) 0:00:56.282 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:46 -0400 (0:00:00.391) 0:00:56.673 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:46 -0400 (0:00:00.034) 0:00:56.708 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:46 -0400 (0:00:00.021) 0:00:56.729 *********** 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.283922", "end": "2024-07-29 14:45:47.436918", "rc": 0, "start": "2024-07-29 14:45:47.152996" } 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:47 -0400 (0:00:00.669) 0:00:57.399 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:47 -0400 (0:00:00.031) 0:00:57.430 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:47 -0400 (0:00:00.026) 0:00:57.457 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.066333", "end": "2024-07-29 14:45:47.944266", "rc": 0, "start": "2024-07-29 14:45:47.877933" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:48 -0400 (0:00:00.451) 0:00:57.908 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Get sshd pid after first update] ***************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:24 Monday 29 July 2024 14:45:48 -0400 (0:00:00.026) 0:00:57.935 *********** ok: [managed_node1] => { "changed": false, "content": "ODY4Cg==", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to LEGACY] ******************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:29 Monday 29 July 2024 14:45:48 -0400 (0:00:00.371) 0:00:58.306 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was not reloaded] ***************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:33 Monday 29 July 2024 14:45:48 -0400 (0:00:00.022) 0:00:58.328 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Change policy from LEGACY to DEFAULT (reload by default)] **************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:38 Monday 29 July 2024 14:45:48 -0400 (0:00:00.021) 0:00:58.349 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:48 -0400 (0:00:00.068) 0:00:58.418 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:48 -0400 (0:00:00.027) 0:00:58.446 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:48 -0400 (0:00:00.029) 0:00:58.475 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:48 -0400 (0:00:00.027) 0:00:58.502 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:48 -0400 (0:00:00.023) 0:00:58.526 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:48 -0400 (0:00:00.023) 0:00:58.549 *********** 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.0FzCDkEyIJ/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:58.573 *********** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:48 -0400 (0:00:00.042) 0:00:58.615 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:50 -0400 (0:00:01.782) 0:01:00.398 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:50 -0400 (0:00:00.025) 0:01:00.423 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:50 -0400 (0:00:00.024) 0:01:00.448 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:50 -0400 (0:00:00.025) 0:01:00.473 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:50 -0400 (0:00:00.023) 0:01:00.497 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.062951", "end": "2024-07-29 14:45:51.031383", "rc": 0, "start": "2024-07-29 14:45:50.968432" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:51 -0400 (0:00:00.497) 0:01:00.995 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:51 -0400 (0:00:00.022) 0:01:01.017 *********** ok: [managed_node1] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722278747.2106674, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148103, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1721811714.596, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:51 -0400 (0:00:00.383) 0:01:01.401 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "BSI", "TEST-FEDORA39", "NEXT", "FEDORA38", "GOST-ONLY", "LEGACY", "DEFAULT", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:51 -0400 (0:00:00.034) 0:01:01.436 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:51 -0400 (0:00:00.446) 0:01:01.882 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:52 -0400 (0:00:00.038) 0:01:01.921 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:52 -0400 (0:00:00.022) 0:01:01.943 *********** 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.298117", "end": "2024-07-29 14:45:52.671145", "rc": 0, "start": "2024-07-29 14:45:52.373028" } 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:52 -0400 (0:00:00.693) 0:01:02.637 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:52 -0400 (0:00:00.029) 0:01:02.666 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:52 -0400 (0:00:00.025) 0:01:02.692 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.062980", "end": "2024-07-29 14:45:53.164894", "rc": 0, "start": "2024-07-29 14:45:53.101914" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:53 -0400 (0:00:00.434) 0:01:03.126 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Get sshd pid after second update] **************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:44 Monday 29 July 2024 14:45:53 -0400 (0:00:00.027) 0:01:03.154 *********** ok: [managed_node1] => { "changed": false, "content": "Mzc2NQo=", "encoding": "base64", "source": "/var/run/sshd.pid" } TASK [Verify that policy was changed to DEFAULT] ******************************* task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:49 Monday 29 July 2024 14:45:53 -0400 (0:00:00.408) 0:01:03.562 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Check the sshd was reloaded] ********************************************* task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:54 Monday 29 July 2024 14:45:53 -0400 (0:00:00.022) 0:01:03.585 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:60 Monday 29 July 2024 14:45:53 -0400 (0:00:00.022) 0:01:03.607 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Monday 29 July 2024 14:45:53 -0400 (0:00:00.081) 0:01:03.689 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Monday 29 July 2024 14:45:53 -0400 (0:00:00.029) 0:01:03.718 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Monday 29 July 2024 14:45:53 -0400 (0:00:00.028) 0:01:03.747 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Monday 29 July 2024 14:45:53 -0400 (0:00:00.024) 0:01:03.772 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Monday 29 July 2024 14:45:53 -0400 (0:00:00.024) 0:01:03.796 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Monday 29 July 2024 14:45:53 -0400 (0:00:00.023) 0:01:03.820 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Monday 29 July 2024 14:45:53 -0400 (0:00:00.023) 0:01:03.844 *********** 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_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=Fedora_39.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "Fedora_39.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Monday 29 July 2024 14:45:53 -0400 (0:00:00.042) 0:01:03.887 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Monday 29 July 2024 14:45:55 -0400 (0:00:01.767) 0:01:05.654 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Monday 29 July 2024 14:45:55 -0400 (0:00:00.026) 0:01:05.680 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Monday 29 July 2024 14:45:55 -0400 (0:00:00.026) 0:01:05.707 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Monday 29 July 2024 14:45:55 -0400 (0:00:00.026) 0:01:05.734 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:55 -0400 (0:00:00.024) 0:01:05.758 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.061501", "end": "2024-07-29 14:45:56.234113", "rc": 0, "start": "2024-07-29 14:45:56.172612" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/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.439) 0:01:06.197 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Monday 29 July 2024 14:45:56 -0400 (0:00:00.023) 0:01:06.221 *********** ok: [managed_node1] => { "changed": false, "examined": 12, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148101, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2765, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148100, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2244, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148096, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/BSI.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4054, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/TEST-FEDORA39.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2844, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/NEXT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148099, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FEDORA38.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148102, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/GOST-ONLY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 936, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722278747.2106674, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148103, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3100, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1722278752.4286945, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148097, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 3085, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148098, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 277, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Monday 29 July 2024 14:45:56 -0400 (0:00:00.382) 0:01:06.603 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_policies": [ "FUTURE", "FIPS", "BSI", "TEST-FEDORA39", "NEXT", "FEDORA38", "GOST-ONLY", "LEGACY", "DEFAULT", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Monday 29 July 2024 14:45:56 -0400 (0:00:00.038) 0:01:06.641 *********** ok: [managed_node1] => { "changed": false, "examined": 10, "files": [ { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148114, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2014, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148110, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/GOST.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 789, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148107, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 331, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148112, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-ENFORCE-EMS.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 248, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148109, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/FEDORA32.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 398, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148113, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 288, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148108, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 136, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 93, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148115, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 131, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1701648000.0, "ctime": 1721811639.222, "dev": 51714, "gid": 0, "gr_name": "root", "inode": 148116, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1701648000.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/TEST-PQ.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 208, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 10, "skipped_paths": {} } MSG: All paths examined TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Monday 29 July 2024 14:45:57 -0400 (0:00:00.394) 0:01:07.036 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Monday 29 July 2024 14:45:57 -0400 (0:00:00.035) 0:01:07.072 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_available_modules": [ "OSPP", "GOST", "AD-SUPPORT", "NO-ENFORCE-EMS", "FEDORA32", "NO-SHA1", "ECDHE-ONLY", "NO-CAMELLIA", "SHA1", "TEST-PQ" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Monday 29 July 2024 14:45:57 -0400 (0:00:00.023) 0:01:07.095 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy != crypto_policies_active", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Monday 29 July 2024 14:45:57 -0400 (0:00:00.024) 0:01:07.120 *********** skipping: [managed_node1] => { "changed": false, "false_condition": "crypto_policies_policy != crypto_policies_active", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Monday 29 July 2024 14:45:57 -0400 (0:00:00.024) 0:01:07.144 *********** included: /tmp/tmp.0FzCDkEyIJ/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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Monday 29 July 2024 14:45:57 -0400 (0:00:00.025) 0:01:07.170 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.064510", "end": "2024-07-29 14:45:57.648509", "rc": 0, "start": "2024-07-29 14:45:57.583999" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Monday 29 July 2024 14:45:57 -0400 (0:00:00.441) 0:01:07.612 *********** ok: [managed_node1] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [Flush handlers] ********************************************************** task path: /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:71 Monday 29 July 2024 14:45:57 -0400 (0:00:00.027) 0:01:07.640 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Monday 29 July 2024 14:45:57 -0400 (0:00:00.007) 0:01:07.647 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Monday 29 July 2024 14:45:57 -0400 (0:00:00.026) 0:01:07.674 *********** 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.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:73 Monday 29 July 2024 14:45:57 -0400 (0:00:00.026) 0:01:07.701 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* managed_node1 : ok=73 changed=2 unreachable=0 failed=0 skipped=38 rescued=0 ignored=0 Monday 29 July 2024 14:45:57 -0400 (0:00:00.040) 0:01:07.741 *********** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed -- 46.02s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 3.32s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:3 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 1.78s /tmp/tmp.0FzCDkEyIJ/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.77s /tmp/tmp.0FzCDkEyIJ/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.77s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.70s /tmp/tmp.0FzCDkEyIJ/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.69s /tmp/tmp.0FzCDkEyIJ/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.67s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.51s /tmp/tmp.0FzCDkEyIJ/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.50s /tmp/tmp.0FzCDkEyIJ/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.50s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Get SSHD pid before policy update --------------------------------------- 0.48s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:12 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.45s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.45s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.44s /tmp/tmp.0FzCDkEyIJ/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.44s /tmp/tmp.0FzCDkEyIJ/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.44s /tmp/tmp.0FzCDkEyIJ/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.44s /tmp/tmp.0FzCDkEyIJ/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.43s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Get sshd pid after second update ---------------------------------------- 0.41s /tmp/tmp.0FzCDkEyIJ/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_reload.yml:44