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-acl/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Saturday 28 September 2024 11:35:16 -0400 (0:00:00.024) 0:00:00.024 **** ok: [managed-node2] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Saturday 28 September 2024 11:35:17 -0400 (0:00:01.324) 0:00:01.348 **** changed: [managed-node2 -> localhost] => (item=CentOS-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537717.64-9853-143659598237839/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537718.26-9853-145695844782842/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537718.58-9853-129825458145986/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537718.88-9853-215889152926524/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537719.16-9853-181609206344091/source", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-acl/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-1727537719.49-9853-6017768671930/source", "state": "file", "uid": 0 } TASK [Call role] *************************************************************** task path: /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 Saturday 28 September 2024 11:35:19 -0400 (0:00:02.193) 0:00:03.541 **** TASK [fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks] *** task path: /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Saturday 28 September 2024 11:35:19 -0400 (0:00:00.052) 0:00:03.594 **** included: /tmp/collections-acl/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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:2 Saturday 28 September 2024 11:35:19 -0400 (0:00:00.063) 0:00:03.657 **** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9438.2024-09-28@11:35:20~", "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.9490.2024-09-28@11:35:20~", "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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 Saturday 28 September 2024 11:35:20 -0400 (0:00:00.670) 0:00:04.327 **** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9542.2024-09-28@11:35:20~", "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.9594.2024-09-28@11:35:21~", "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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:27 Saturday 28 September 2024 11:35:21 -0400 (0:00:00.571) 0:00:04.898 **** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9646.2024-09-28@11:35:21~", "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.9698.2024-09-28@11:35:21~", "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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:41 Saturday 28 September 2024 11:35:21 -0400 (0:00:00.545) 0:00:05.444 **** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9750.2024-09-28@11:35:21~", "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.9802.2024-09-28@11:35:22~", "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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:55 Saturday 28 September 2024 11:35:22 -0400 (0:00:00.541) 0:00:05.986 **** changed: [managed-node2] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9854.2024-09-28@11:35:22~", "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.9906.2024-09-28@11:35:22~", "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-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 Saturday 28 September 2024 11:35:22 -0400 (0:00:00.563) 0:00:06.550 **** changed: [managed-node2] => { "changed": true } MSG: Block inserted TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8 Saturday 28 September 2024 11:35:23 -0400 (0:00:00.443) 0:00:06.993 **** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 Saturday 28 September 2024 11:35:23 -0400 (0:00:00.040) 0:00:07.033 **** changed: [managed-node2 -> localhost] => (item={u'md5sum': u'5a57da448a1d752b982858b38aab344d', u'uid': 0, u'dest': u'/tmp/collections-acl/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-1727537717.64-9853-143659598237839/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.9.yml', u'selevel': None, u'_original_basename': u'tmpDMxyVq', 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-1727537717.64-9853-143659598237839/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-acl/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": "tmpDMxyVq", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537717.64-9853-143659598237839/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-1727537717.64-9853-143659598237839/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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-acl/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-1727537718.26-9853-145695844782842/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-7.yml', u'selevel': None, u'_original_basename': u'tmpuxkD82', 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-1727537718.26-9853-145695844782842/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-acl/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": "tmpuxkD82", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537718.26-9853-145695844782842/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-1727537718.26-9853-145695844782842/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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-acl/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-1727537718.58-9853-129825458145986/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.9.yml', u'selevel': None, u'_original_basename': u'tmp3orvHR', 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-1727537718.58-9853-129825458145986/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-acl/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": "tmp3orvHR", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537718.58-9853-129825458145986/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-1727537718.58-9853-129825458145986/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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-acl/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-1727537718.88-9853-215889152926524/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_7.yml', u'selevel': None, u'_original_basename': u'tmpNEyHeU', 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-1727537718.88-9853-215889152926524/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-acl/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": "tmpNEyHeU", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537718.88-9853-215889152926524/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-1727537718.88-9853-215889152926524/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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-acl/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-1727537719.16-9853-181609206344091/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml', u'selevel': None, u'_original_basename': u'tmp1NLiZL', 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-1727537719.16-9853-181609206344091/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-acl/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": "tmp1NLiZL", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537719.16-9853-181609206344091/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-1727537719.16-9853-181609206344091/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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-acl/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-1727537719.49-9853-6017768671930/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-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', u'selevel': None, u'_original_basename': u'tmp1LawVA', 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-1727537719.49-9853-6017768671930/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-acl/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": "tmp1LawVA", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "delimiter": null, "dest": "/tmp/collections-acl/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-1727537719.49-9853-6017768671930/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-1727537719.49-9853-6017768671930/source", "state": "file", "uid": 0 }, "path": "/tmp/collections-acl/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 28 September 2024 11:35:24 -0400 (0:00:01.032) 0:00:08.065 **** =============================================================================== Create var file in caller that can override the one in called role ------ 2.19s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Gathering Facts --------------------------------------------------------- 1.32s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Cleanup ----------------------------------------------------------------- 1.03s /tmp/collections-acl/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.67s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:2 fedora.linux_system_roles.pam_pwd : RHEL 7 Configure pam_faillock.so ---- 0.57s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 fedora.linux_system_roles.pam_pwd : RHEL 7 Enforce root for password complexity --- 0.56s /tmp/collections-acl/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 for preauth --- 0.55s /tmp/collections-acl/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.54s /tmp/collections-acl/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.44s /tmp/collections-acl/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.06s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Call role --------------------------------------------------------------- 0.05s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 caller : Assert variable not overridden --------------------------------- 0.04s /tmp/collections-acl/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8