ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Saturday 08 February 2025 10:07:53 -0500 (0:00:00.028) 0:00:00.028 ***** ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Saturday 08 February 2025 10:07:55 -0500 (0:00:01.250) 0:00:01.279 ***** changed: [managed-node2 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml", "gid": 0, "group": "root", "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027275.14-9839-276514494577116/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml", "gid": 0, "group": "root", "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027275.73-9839-167948374017373/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml", "gid": 0, "group": "root", "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.02-9839-103410412200695/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml", "gid": 0, "group": "root", "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.32-9839-228314501207222/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml", "gid": 0, "group": "root", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.64-9839-159501967943091/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.94-9839-47127515664498/source", "state": "file", "uid": 0 } TASK [Call role] *************************************************************** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 Saturday 08 February 2025 10:07:57 -0500 (0:00:02.116) 0:00:03.395 ***** TASK [fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks] *** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Saturday 08 February 2025 10:07:57 -0500 (0:00:00.037) 0:00:03.433 ***** included: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml for managed-node2 TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 Keep history of the last passwords used] *** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:2 Saturday 08 February 2025 10:07:57 -0500 (0:00:00.047) 0:00:03.481 ***** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9306.2025-02-08@10:07:57~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node2] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9358.2025-02-08@10:07:57~", "changed": true, "item": "/etc/pam.d/password-auth" } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 Configure pam_faillock.so] **** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 Saturday 08 February 2025 10:07:58 -0500 (0:00:00.723) 0:00:04.204 ***** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9410.2025-02-08@10:07:58~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node2] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9462.2025-02-08@10:07:58~", "changed": true, "item": "/etc/pam.d/password-auth" } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 configure pam_faillock.so for preauth] *** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:27 Saturday 08 February 2025 10:07:58 -0500 (0:00:00.570) 0:00:04.774 ***** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9514.2025-02-08@10:07:58~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node2] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9566.2025-02-08@10:07:59~", "changed": true, "item": "/etc/pam.d/password-auth" } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 configure pam_faillock.so for authfail] *** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:41 Saturday 08 February 2025 10:07:59 -0500 (0:00:00.557) 0:00:05.332 ***** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9618.2025-02-08@10:07:59~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node2] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9670.2025-02-08@10:07:59~", "changed": true, "item": "/etc/pam.d/password-auth" } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 Enforce root for password complexity] *** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:55 Saturday 08 February 2025 10:07:59 -0500 (0:00:00.555) 0:00:05.888 ***** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9722.2025-02-08@10:07:59~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line replaced changed: [managed-node2] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9774.2025-02-08@10:08:00~", "changed": true, "item": "/etc/pam.d/password-auth" } MSG: line replaced TASK [fedora.linux_system_roles.pam_pwd : Set password quality] **************** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 Saturday 08 February 2025 10:08:00 -0500 (0:00:00.575) 0:00:06.463 ***** changed: [managed-node2] => { "changed": true } MSG: Block inserted TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8 Saturday 08 February 2025 10:08:00 -0500 (0:00:00.394) 0:00:06.858 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 Saturday 08 February 2025 10:08:00 -0500 (0:00:00.033) 0:00:06.892 ***** changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027275.14-9839-276514494577116/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml', u'selevel': None, u'_original_basename': u'tmpe4F9u6', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027275.14-9839-276514494577116/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpe4F9u6", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.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-1739027275.14-9839-276514494577116/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027275.14-9839-276514494577116/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027275.73-9839-167948374017373/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS-7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml', u'selevel': None, u'_original_basename': u'tmp_3VGNa', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027275.73-9839-167948374017373/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmp_3VGNa", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.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-1739027275.73-9839-167948374017373/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027275.73-9839-167948374017373/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.02-9839-103410412200695/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7.9', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml', u'selevel': None, u'_original_basename': u'tmpwEjEi2', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.02-9839-103410412200695/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpwEjEi2", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.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-1739027276.02-9839-103410412200695/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.02-9839-103410412200695/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.32-9839-228314501207222/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS_7', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml', u'selevel': None, u'_original_basename': u'tmp2fghFE', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.32-9839-228314501207222/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmp2fghFE", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.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-1739027276.32-9839-228314501207222/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.32-9839-228314501207222/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.64-9839-159501967943091/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'CentOS', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml', u'selevel': None, u'_original_basename': u'tmpHPg9Ja', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.64-9839-159501967943091/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpHPg9Ja", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/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-1739027276.64-9839-159501967943091/source", "unsafe_writes": false, "validate": null } }, "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.64-9839-159501967943091/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', u'owner': u'root', u'diff': [], u'size': 23, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.94-9839-47127515664498/source', u'ansible_loop_var': u'item', u'group': u'root', u'item': u'RedHat', u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'changed': True, u'failed': False, u'state': u'file', u'gid': 0, u'secontext': u'unconfined_u:object_r:admin_home_t:s0', u'mode': u'0600', u'invocation': {u'module_args': {u'directory_mode': None, u'force': True, u'remote_src': None, u'dest': u'/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', u'selevel': None, u'_original_basename': u'tmpr8KYle', u'delimiter': None, u'regexp': None, u'owner': None, u'follow': False, u'validate': None, u'local_follow': None, u'src': u'/root/.ansible/tmp/ansible-tmp-1739027276.94-9839-47127515664498/source', u'group': None, u'unsafe_writes': False, u'checksum': u'870b2314d3f4184a363b31373f07abb444f26444', u'seuser': None, u'serole': None, u'content': None, u'setype': None, u'mode': u'0600', u'attributes': None, u'backup': False}}}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": "tmpr8KYle", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/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-1739027276.94-9839-47127515664498/source", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1739027276.94-9839-47127515664498/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml", "state": "absent" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=11 changed=8 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Saturday 08 February 2025 10:08:01 -0500 (0:00:01.008) 0:00:07.900 ***** =============================================================================== Create var file in caller that can override the one in called role ------ 2.12s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Cleanup ----------------------------------------------------------------- 1.01s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 fedora.linux_system_roles.pam_pwd : RHEL 7 Keep history of the last passwords used --- 0.72s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:2 fedora.linux_system_roles.pam_pwd : RHEL 7 Enforce root for password complexity --- 0.58s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:55 fedora.linux_system_roles.pam_pwd : RHEL 7 Configure pam_faillock.so ---- 0.57s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 fedora.linux_system_roles.pam_pwd : RHEL 7 configure pam_faillock.so for preauth --- 0.56s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:27 fedora.linux_system_roles.pam_pwd : RHEL 7 configure pam_faillock.so for authfail --- 0.56s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:41 fedora.linux_system_roles.pam_pwd : Set password quality ---------------- 0.39s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks --- 0.05s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Call role --------------------------------------------------------------- 0.04s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 caller : Assert variable not overridden --------------------------------- 0.03s /tmp/collections-39D/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8