ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_update.yml ***************************************************** 1 plays in /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml PLAY [Ensure that we can set the policy using this role (without reboot)] ****** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 Tuesday 24 September 2024 13:45:16 -0400 (0:00:00.020) 0:00:00.020 ***** ok: [managed-node3] META: ran handlers TASK [Set correct base policy] ************************************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:8 Tuesday 24 September 2024 13:45:16 -0400 (0:00:00.871) 0:00:00.891 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Tuesday 24 September 2024 13:45:16 -0400 (0:00:00.045) 0:00:00.937 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:16 -0400 (0:00:00.024) 0:00:00.962 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Tuesday 24 September 2024 13:45:16 -0400 (0:00:00.035) 0:00:00.997 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:17 -0400 (0:00:00.430) 0:00:01.427 ***** ok: [managed-node3] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:17 -0400 (0:00:00.038) 0:00:01.466 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:17 -0400 (0:00:00.339) 0:00:01.805 ***** ok: [managed-node3] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:17 -0400 (0:00:00.039) 0:00:01.844 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Tuesday 24 September 2024 13:45:17 -0400 (0:00:00.054) 0:00:01.899 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Tuesday 24 September 2024 13:45:20 -0400 (0:00:02.916) 0:00:04.815 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Tuesday 24 September 2024 13:45:20 -0400 (0:00:00.045) 0:00:04.860 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Tuesday 24 September 2024 13:45:20 -0400 (0:00:00.046) 0:00:04.907 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Tuesday 24 September 2024 13:45:20 -0400 (0:00:00.044) 0:00:04.952 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:20 -0400 (0:00:00.033) 0:00:04.986 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048513", "end": "2024-09-24 13:45:21.434023", "rc": 0, "start": "2024-09-24 13:45:21.385510" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:21 -0400 (0:00:00.507) 0:00:05.493 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:21 -0400 (0:00:00.034) 0:00:05.528 ***** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1716968748.851, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Tuesday 24 September 2024 13:45:21 -0400 (0:00:00.420) 0:00:05.948 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FIPS", "DEFAULT", "FUTURE", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Tuesday 24 September 2024 13:45:21 -0400 (0:00:00.038) 0:00:05.986 ***** ok: [managed-node3] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.317) 0:00:06.303 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.037) 0:00:06.340 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.034) 0:00:06.375 ***** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "LEGACY" ], "delta": "0:00:00.104864", "end": "2024-09-24 13:45:22.762178", "rc": 0, "start": "2024-09-24 13:45:22.657314" } STDOUT: Setting system policy to LEGACY Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.445) 0:00:06.821 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.037) 0:00:06.858 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:22 -0400 (0:00:00.018) 0:00:06.877 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.049479", "end": "2024-09-24 13:45:23.186417", "rc": 0, "start": "2024-09-24 13:45:23.136938" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.367) 0:00:07.245 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [Verify that base policy was updated] ************************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:14 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.035) 0:00:07.280 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set policy and subpolicy to use for test] ******************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:20 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.039) 0:00:07.320 ***** ok: [managed-node3] => { "ansible_facts": { "__policy_and_sub": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Set correct base policy and subpolicy] *********************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:24 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.036) 0:00:07.357 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.037) 0:00:07.394 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.021) 0:00:07.415 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.035) 0:00:07.450 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.033) 0:00:07.484 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.034) 0:00:07.518 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.036) 0:00:07.555 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.035) 0:00:07.590 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Tuesday 24 September 2024 13:45:23 -0400 (0:00:00.058) 0:00:07.649 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Tuesday 24 September 2024 13:45:26 -0400 (0:00:02.784) 0:00:10.433 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Tuesday 24 September 2024 13:45:26 -0400 (0:00:00.050) 0:00:10.483 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Tuesday 24 September 2024 13:45:26 -0400 (0:00:00.050) 0:00:10.533 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Tuesday 24 September 2024 13:45:26 -0400 (0:00:00.049) 0:00:10.583 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:26 -0400 (0:00:00.029) 0:00:10.612 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048547", "end": "2024-09-24 13:45:26.970193", "rc": 0, "start": "2024-09-24 13:45:26.921646" } STDOUT: LEGACY TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.423) 0:00:11.036 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "LEGACY" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.042) 0:00:11.079 ***** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1716968748.851, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199922.7011468, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.320) 0:00:11.399 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FIPS", "DEFAULT", "FUTURE", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.037) 0:00:11.437 ***** ok: [managed-node3] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.322) 0:00:11.759 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.037) 0:00:11.796 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Tuesday 24 September 2024 13:45:27 -0400 (0:00:00.034) 0:00:11.830 ***** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NO-SHA1" ], "delta": "0:00:00.117190", "end": "2024-09-24 13:45:28.233360", "rc": 0, "start": "2024-09-24 13:45:28.116170" } STDOUT: Setting system policy to DEFAULT:NO-SHA1 Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.460) 0:00:12.291 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.040) 0:00:12.331 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.018) 0:00:12.349 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048052", "end": "2024-09-24 13:45:28.651978", "rc": 0, "start": "2024-09-24 13:45:28.603926" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.360) 0:00:12.709 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [Verify that base policy and subpolicy were updated] ********************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:30 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.037) 0:00:12.747 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set incorrect base policy] *********************************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:38 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.038) 0:00:12.785 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.028) 0:00:12.814 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.021) 0:00:12.835 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.036) 0:00:12.872 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.057) 0:00:12.930 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.035) 0:00:12.965 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:28 -0400 (0:00:00.034) 0:00:13.000 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:29 -0400 (0:00:00.034) 0:00:13.035 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Tuesday 24 September 2024 13:45:29 -0400 (0:00:00.053) 0:00:13.089 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Tuesday 24 September 2024 13:45:31 -0400 (0:00:02.765) 0:00:15.855 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Tuesday 24 September 2024 13:45:31 -0400 (0:00:00.048) 0:00:15.904 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Tuesday 24 September 2024 13:45:31 -0400 (0:00:00.046) 0:00:15.951 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Tuesday 24 September 2024 13:45:31 -0400 (0:00:00.049) 0:00:16.000 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:32 -0400 (0:00:00.024) 0:00:16.025 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048506", "end": "2024-09-24 13:45:32.350365", "rc": 0, "start": "2024-09-24 13:45:32.301859" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:32 -0400 (0:00:00.402) 0:00:16.427 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:32 -0400 (0:00:00.055) 0:00:16.482 ***** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1727199928.1601944, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199922.7011468, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Tuesday 24 September 2024 13:45:32 -0400 (0:00:00.373) 0:00:16.855 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FIPS", "DEFAULT", "FUTURE", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Tuesday 24 September 2024 13:45:32 -0400 (0:00:00.043) 0:00:16.899 ***** ok: [managed-node3] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199928.1711943, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.320) 0:00:17.219 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.039) 0:00:17.259 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.036) 0:00:17.295 ***** fatal: [managed-node3]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "NOEXIST" ], "delta": "0:00:00.048766", "end": "2024-09-24 13:45:33.628899", "rc": 1, "start": "2024-09-24 13:45:33.580133" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pol` not found in (., policies, /etc/crypto-policies/policies, /usr/share/crypto-policies/policies) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:48 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.390) 0:00:17.685 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Set incorrect subpolicy] ************************************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:57 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.044) 0:00:17.730 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.027) 0:00:17.758 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.021) 0:00:17.779 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.036) 0:00:17.815 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.036) 0:00:17.852 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.035) 0:00:17.888 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.035) 0:00:17.923 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:33 -0400 (0:00:00.035) 0:00:17.959 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Tuesday 24 September 2024 13:45:34 -0400 (0:00:00.055) 0:00:18.014 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Tuesday 24 September 2024 13:45:36 -0400 (0:00:02.766) 0:00:20.781 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Tuesday 24 September 2024 13:45:36 -0400 (0:00:00.047) 0:00:20.828 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Tuesday 24 September 2024 13:45:36 -0400 (0:00:00.051) 0:00:20.880 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Tuesday 24 September 2024 13:45:36 -0400 (0:00:00.044) 0:00:20.924 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:36 -0400 (0:00:00.022) 0:00:20.947 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048096", "end": "2024-09-24 13:45:37.256115", "rc": 0, "start": "2024-09-24 13:45:37.208019" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:37 -0400 (0:00:00.383) 0:00:21.331 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:37 -0400 (0:00:00.057) 0:00:21.388 ***** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1727199928.1601944, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199922.7011468, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Tuesday 24 September 2024 13:45:37 -0400 (0:00:00.367) 0:00:21.755 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FIPS", "DEFAULT", "FUTURE", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Tuesday 24 September 2024 13:45:37 -0400 (0:00:00.041) 0:00:21.797 ***** ok: [managed-node3] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199928.1711943, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.320) 0:00:22.117 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.036) 0:00:22.154 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.034) 0:00:22.189 ***** fatal: [managed-node3]: FAILED! => { "changed": true, "cmd": [ "update-crypto-policies", "--no-reload", "--set", "DEFAULT:NOEXIST" ], "delta": "0:00:00.060040", "end": "2024-09-24 13:45:38.528761", "rc": 1, "start": "2024-09-24 13:45:38.468721" } STDERR: Unknown policy `NOEXIST`: file `NOEXIST.pmod` not found in (., policies/modules, /etc/crypto-policies/policies/modules, /usr/share/crypto-policies/policies/modules) MSG: non-zero return code TASK [Check that we failed in the role] **************************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:67 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.396) 0:00:22.585 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Restore policy to DEFAULT] *********************************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:75 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.037) 0:00:22.623 ***** TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.067) 0:00:22.690 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.022) 0:00:22.713 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.037) 0:00:22.751 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.040) 0:00:22.791 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.035) 0:00:22.827 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.032) 0:00:22.859 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.033) 0:00:22.893 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Ensure required packages are installed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Tuesday 24 September 2024 13:45:38 -0400 (0:00:00.051) 0:00:22.944 ***** ok: [managed-node3] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.crypto_policies : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:18 Tuesday 24 September 2024 13:45:41 -0400 (0:00:02.781) 0:00:25.725 ***** skipping: [managed-node3] => {} TASK [fedora.linux_system_roles.crypto_policies : Reboot transactional update systems] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:23 Tuesday 24 September 2024 13:45:41 -0400 (0:00:00.034) 0:00:25.760 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Fail if reboot is needed and not set] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:28 Tuesday 24 September 2024 13:45:41 -0400 (0:00:00.038) 0:00:25.798 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.crypto_policies : Gather facts] **************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:36 Tuesday 24 September 2024 13:45:41 -0400 (0:00:00.033) 0:00:25.831 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:41 -0400 (0:00:00.018) 0:00:25.849 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048855", "end": "2024-09-24 13:45:42.153013", "rc": 0, "start": "2024-09-24 13:45:42.104158" } STDOUT: DEFAULT:NO-SHA1 TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.361) 0:00:26.211 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT:NO-SHA1" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.034) 0:00:26.246 ***** ok: [managed-node3] => { "changed": false, "examined": 7, "files": [ { "atime": 1727199928.1601944, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047304, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/DEFAULT.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2153, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047305, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/EMPTY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 267, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047306, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FIPS.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1726, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047307, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/FUTURE.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2102, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199922.7011468, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4047308, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/LEGACY.pol", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 2471, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available base policies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.320) 0:00:26.567 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FIPS", "DEFAULT", "FUTURE", "EMPTY" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find subpolicy files] ******** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.036) 0:00:26.604 ***** ok: [managed-node3] => { "changed": false, "examined": 5, "files": [ { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695037, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/AD-SUPPORT.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 322, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695038, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/ECDHE-ONLY.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 121, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695039, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-CAMELLIA.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1727199928.1711943, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695104, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/NO-SHA1.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 123, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false }, { "atime": 1690903086.0, "ctime": 1716968718.641, "dev": 51713, "gid": 0, "gr_name": "root", "inode": 4695105, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1690903086.0, "nlink": 1, "path": "/usr/share/crypto-policies/policies/modules/OSPP.pmod", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 1986, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } ], "matched": 5 } TASK [fedora.linux_system_roles.crypto_policies : Set available subpolicies fact] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.318) 0:00:26.923 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set crypto_policies_available_modules fact (deprecated)] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:69 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.036) 0:00:26.959 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "NO-SHA1", "ECDHE-ONLY", "AD-SUPPORT", "OSPP" ] }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update crypto policy if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 Tuesday 24 September 2024 13:45:42 -0400 (0:00:00.034) 0:00:26.994 ***** NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes for managed-node3 NOTIFIED HANDLER fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag for managed-node3 changed: [managed-node3] => { "changed": true, "cmd": [ "update-crypto-policies", "--set", "DEFAULT" ], "delta": "0:00:00.135117", "end": "2024-09-24 13:45:43.407530", "rc": 0, "start": "2024-09-24 13:45:43.272413" } STDOUT: Setting system policy to DEFAULT Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. TASK [fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.471) 0:00:27.465 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_reboot_required": true }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Update facts after applying policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.037) 0:00:27.502 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node3 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.018) 0:00:27.520 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048382", "end": "2024-09-24 13:45:43.823172", "rc": 0, "start": "2024-09-24 13:45:43.774790" } STDOUT: DEFAULT TASK [fedora.linux_system_roles.crypto_policies : Set current policy fact] ***** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.359) 0:00:27.880 ***** ok: [managed-node3] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.031) 0:00:27.912 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.034) 0:00:27.946 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Tuesday 24 September 2024 13:45:43 -0400 (0:00:00.034) 0:00:27.981 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.035) 0:00:28.016 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.033) 0:00:28.050 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.034) 0:00:28.084 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.033) 0:00:28.117 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.034) 0:00:28.151 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Reboot the managed host to apply crypto policies changes] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:4 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.034) 0:00:28.185 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.crypto_policies : Clear the crypto_policies_reboot_required flag] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/handlers/main.yml:11 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.035) 0:00:28.221 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Check the current policy has been restored to DEFAULT] ******************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:88 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.039) 0:00:28.260 ***** ok: [managed-node3] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=76 changed=3 unreachable=0 failed=0 skipped=51 rescued=2 ignored=0 Tuesday 24 September 2024 13:45:44 -0400 (0:00:00.034) 0:00:28.294 ***** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.92s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.78s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.78s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.77s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 2.77s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.87s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_update.yml:3 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.51s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.47s /tmp/collections-GGv/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.46s /tmp/collections-GGv/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.45s /tmp/collections-GGv/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.43s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.42s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.42s /tmp/collections-GGv/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.40s /tmp/collections-GGv/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.40s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Update crypto policy if needed --- 0.39s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:75 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.38s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.37s /tmp/collections-GGv/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.37s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Find base policies files ---- 0.37s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39