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_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:2 Tuesday 24 September 2024 13:44:58 -0400 (0:00:00.027) 0:00:00.027 ***** ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:6 Tuesday 24 September 2024 13:44:59 -0400 (0:00:01.106) 0:00:01.134 ***** changed: [managed-node2 -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml", "gid": 0, "group": "root", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199899.664225-8104-72812436285978/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml", "gid": 0, "group": "root", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199900.490733-8104-150252353448284/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.0330462-8104-195120554459569/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.5329208-8104-169797411780095/source", "state": "file", "uid": 0 } TASK [Include role] ************************************************************ task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/tasks/main.yml:4 Tuesday 24 September 2024 13:45:02 -0400 (0:00:02.395) 0:00:03.529 ***** 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:02 -0400 (0:00:00.056) 0:00:03.586 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 Tuesday 24 September 2024 13:45:02 -0400 (0:00:00.042) 0:00:03.628 ***** skipping: [managed-node2] => { "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:02 -0400 (0:00:00.032) 0:00:03.661 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag to indicate system is ostree] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:15 Tuesday 24 September 2024 13:45:02 -0400 (0:00:00.366) 0:00:04.027 ***** ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Tuesday 24 September 2024 13:45:02 -0400 (0:00:00.018) 0:00:04.046 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.crypto_policies : Set flag if transactional-update exists] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:27 Tuesday 24 September 2024 13:45:02 -0400 (0:00:00.330) 0:00:04.376 ***** ok: [managed-node2] => { "ansible_facts": { "__crypto_policies_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Set platform/version specific variables] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 Tuesday 24 September 2024 13:45:02 -0400 (0:00:00.019) 0:00:04.396 ***** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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:02 -0400 (0:00:00.034) 0:00:04.430 ***** ok: [managed-node2] => { "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:08 -0400 (0:00:05.224) 0:00:09.655 ***** skipping: [managed-node2] => {} 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:08 -0400 (0:00:00.018) 0:00:09.673 ***** skipping: [managed-node2] => { "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:08 -0400 (0:00:00.018) 0:00:09.691 ***** skipping: [managed-node2] => { "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:08 -0400 (0:00:00.019) 0:00:09.711 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:08 -0400 (0:00:00.023) 0:00:09.735 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.061010", "end": "2024-09-24 13:45:08.679982", "rc": 0, "start": "2024-09-24 13:45:08.618972" } 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:08 -0400 (0:00:00.529) 0:00:10.264 ***** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [fedora.linux_system_roles.crypto_policies : Find base policies files] **** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:39 Tuesday 24 September 2024 13:45:08 -0400 (0:00:00.019) 0:00:10.284 ***** ok: [managed-node2] => { "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:09 -0400 (0:00:00.490) 0:00:10.774 ***** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_policies": [ "LEGACY", "FUTURE", "FIPS", "EMPTY", "DEFAULT" ] }, "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:09 -0400 (0:00:00.034) 0:00:10.809 ***** ok: [managed-node2] => { "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:09 -0400 (0:00:00.362) 0:00:11.172 ***** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_subpolicies": [ "NO-CAMELLIA", "ECDHE-ONLY", "NO-SHA1", "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:09 -0400 (0:00:00.032) 0:00:11.204 ***** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_available_modules": [ "NO-CAMELLIA", "ECDHE-ONLY", "NO-SHA1", "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:09 -0400 (0:00:00.025) 0:00:11.229 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } 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:09 -0400 (0:00:00.023) 0:00:11.253 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was 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:09 -0400 (0:00:00.027) 0:00:11.281 ***** included: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml for managed-node2 TASK [fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy] *** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 Tuesday 24 September 2024 13:45:09 -0400 (0:00:00.036) 0:00:11.317 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "update-crypto-policies", "--show" ], "delta": "0:00:00.048087", "end": "2024-09-24 13:45:10.146138", "rc": 0, "start": "2024-09-24 13:45:10.098051" } 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:10 -0400 (0:00:00.415) 0:00:11.733 ***** ok: [managed-node2] => { "ansible_facts": { "crypto_policies_active": "DEFAULT" }, "changed": false } TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/tasks/main.yml:8 Tuesday 24 September 2024 13:45:10 -0400 (0:00:00.032) 0:00:11.765 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:47 Tuesday 24 September 2024 13:45:10 -0400 (0:00:00.041) 0:00:11.807 ***** changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727199899.664225-8104-72812436285978/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727199899.664225-8104-72812436285978/source', '_original_basename': 'tmpd94wq62p', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS-8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpd94wq62p", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727199899.664225-8104-72812436285978/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199899.664225-8104-72812436285978/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS-8.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727199900.490733-8104-150252353448284/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727199900.490733-8104-150252353448284/source', '_original_basename': 'tmp52e8g52z', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS_8', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmp52e8g52z", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727199900.490733-8104-150252353448284/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199900.490733-8104-150252353448284/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS_8.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727199901.0330462-8104-195120554459569/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727199901.0330462-8104-195120554459569/source', '_original_basename': 'tmps85_6fva', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'CentOS', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmps85_6fva", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.0330462-8104-195120554459569/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.0330462-8104-195120554459569/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1727199901.5329208-8104-169797411780095/source', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1727199901.5329208-8104-169797411780095/source', '_original_basename': 'tmpladvwa8g', 'follow': False, 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'backup': False, 'force': True, 'unsafe_writes': False, 'content': None, 'validate': None, 'directory_mode': None, 'remote_src': None, 'local_follow': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'regexp': None, 'delimiter': None}}, 'failed': False, 'item': 'RedHat', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpladvwa8g", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.5329208-8104-169797411780095/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1727199901.5329208-8104-169797411780095/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=21 changed=2 unreachable=0 failed=0 skipped=7 rescued=0 ignored=0 Tuesday 24 September 2024 13:45:11 -0400 (0:00:01.291) 0:00:13.098 ***** =============================================================================== fedora.linux_system_roles.crypto_policies : Ensure required packages are installed --- 5.22s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:6 Create var file in caller that can override the one in called role ------ 2.40s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:6 Cleanup ----------------------------------------------------------------- 1.29s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:47 Gathering Facts --------------------------------------------------------- 1.11s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/tests_include_vars_from_parent.yml:2 fedora.linux_system_roles.crypto_policies : Find out what is the currently active policy --- 0.53s /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.49s /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.42s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:3 fedora.linux_system_roles.crypto_policies : Check if system is ostree --- 0.37s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:10 fedora.linux_system_roles.crypto_policies : Find subpolicy files -------- 0.36s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:54 fedora.linux_system_roles.crypto_policies : Check if transactional-update exists in /sbin --- 0.33s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:22 Include role ------------------------------------------------------------ 0.06s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/tasks/main.yml:4 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.04s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:3 caller : Assert variable not overridden --------------------------------- 0.04s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/tests/crypto_policies/roles/caller/tasks/main.yml:8 fedora.linux_system_roles.crypto_policies : Update facts after applying policy --- 0.04s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:95 fedora.linux_system_roles.crypto_policies : Set available base policies fact --- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:47 fedora.linux_system_roles.crypto_policies : Set platform/version specific variables --- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:31 fedora.linux_system_roles.crypto_policies : Ensure ansible_facts used by role --- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/set_vars.yml:2 fedora.linux_system_roles.crypto_policies : Set current policy fact ----- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/gather_facts.yml:9 fedora.linux_system_roles.crypto_policies : Set available subpolicies fact --- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:62 fedora.linux_system_roles.crypto_policies : Set the reboot_required flag if needed --- 0.03s /tmp/collections-GGv/ansible_collections/fedora/linux_system_roles/roles/crypto_policies/tasks/main.yml:87