ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-1iG executable location = /usr/local/bin/ansible-playbook python version = 3.12.6 (main, Sep 9 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/collections-1iG/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-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Saturday 05 October 2024 11:10:35 -0400 (0:00:00.006) 0:00:00.006 ****** [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.12, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Create var file in caller that can override the one in called role] ****** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Saturday 05 October 2024 11:10:38 -0400 (0:00:02.939) 0:00:02.946 ****** changed: [managed-node2 -> localhost] => (item=CentOS-10) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml", "gid": 0, "group": "root", "item": "CentOS-10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1728141038.619677-6630-92929615273105/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS_10) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml", "gid": 0, "group": "root", "item": "CentOS_10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1728141039.183852-6630-93867126240724/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/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-1728141039.5778723-6630-14026227450707/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/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-1728141039.9712374-6630-184806665855324/.source.yml", "state": "file", "uid": 0 } TASK [Call role] *************************************************************** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 Saturday 05 October 2024 11:10:40 -0400 (0:00:01.850) 0:00:04.797 ****** included: fedora.linux_system_roles.pam_pwd for managed-node2 TASK [fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Saturday 05 October 2024 11:10:40 -0400 (0:00:00.022) 0:00:04.819 ****** included: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml for managed-node2 TASK [fedora.linux_system_roles.pam_pwd : Deny access after number of consecutive authentication failures num 5] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:2 Saturday 05 October 2024 11:10:40 -0400 (0:00:00.034) 0:00:04.854 ****** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.6637.2024-10-05@11:10:40~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : Reenable access after the lock out seconds 300] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:12 Saturday 05 October 2024 11:10:40 -0400 (0:00:00.540) 0:00:05.394 ****** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.6752.2024-10-05@11:10:41~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : Set option silent in /etc/security/faillock.conf] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:20 Saturday 05 October 2024 11:10:41 -0400 (0:00:00.343) 0:00:05.738 ****** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.6867.2024-10-05@11:10:41~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : List authselect profiles] ************ task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:29 Saturday 05 October 2024 11:10:41 -0400 (0:00:00.344) 0:00:06.083 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "list" ], "delta": "0:00:00.201560", "end": "2024-10-05 11:10:42.216903", "rc": 0, "start": "2024-10-05 11:10:42.015343" } STDOUT: - local Local users only - sssd Enable SSSD for system authentication (also for local users only) - winbind Enable winbind for system authentication TASK [fedora.linux_system_roles.pam_pwd : Create custom authselect profile from existing profile sssd password-policy] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:38 Saturday 05 October 2024 11:10:42 -0400 (0:00:00.624) 0:00:06.707 ****** Notification for handler Pam_pwd_authselect_apply has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "authselect", "create-profile", "password-policy", "-b", "sssd" ], "delta": "0:00:00.003991", "end": "2024-10-05 11:10:42.564968", "rc": 0, "start": "2024-10-05 11:10:42.560977" } STDOUT: New profile was created at /etc/authselect/custom/password-policy TASK [fedora.linux_system_roles.pam_pwd : List authselect current profile] ***** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:46 Saturday 05 October 2024 11:10:42 -0400 (0:00:00.336) 0:00:07.044 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "current" ], "delta": "0:00:00.003953", "end": "2024-10-05 11:10:42.905510", "failed_when_result": false, "rc": 0, "start": "2024-10-05 11:10:42.901557" } STDOUT: Profile ID: local Enabled features: None TASK [fedora.linux_system_roles.pam_pwd : Select profile password-policy] ****** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:58 Saturday 05 October 2024 11:10:42 -0400 (0:00:00.344) 0:00:07.389 ****** Notification for handler Pam_pwd_authselect_apply has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "authselect", "select", "--force", "custom/password-policy" ], "delta": "0:00:00.012725", "end": "2024-10-05 11:10:43.249470", "rc": 0, "start": "2024-10-05 11:10:43.236745" } STDOUT: Backup stored at /var/lib/authselect/backups/2024-10-05-15-10-43.CtH1Kl Profile "custom/password-policy" was selected. Make sure that SSSD service is configured and enabled. See SSSD documentation for more information. TASK [fedora.linux_system_roles.pam_pwd : List authselect current profile] ***** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:64 Saturday 05 October 2024 11:10:43 -0400 (0:00:00.338) 0:00:07.728 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "current" ], "delta": "0:00:00.003403", "end": "2024-10-05 11:10:43.582146", "rc": 0, "start": "2024-10-05 11:10:43.578743" } STDOUT: Profile ID: custom/password-policy Enabled features: None TASK [fedora.linux_system_roles.pam_pwd : Set enable-feature with-faillock] **** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:69 Saturday 05 October 2024 11:10:43 -0400 (0:00:00.332) 0:00:08.060 ****** Notification for handler Pam_pwd_authselect_apply has been saved. changed: [managed-node2] => { "changed": true, "cmd": [ "authselect", "enable-feature", "with-faillock" ], "delta": "0:00:00.010477", "end": "2024-10-05 11:10:43.915305", "rc": 0, "start": "2024-10-05 11:10:43.904828" } STDOUT: Make sure that SSSD service is configured and enabled. See SSSD documentation for more information. TASK [fedora.linux_system_roles.pam_pwd : Keep history of the last passwords used num 10] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:75 Saturday 05 October 2024 11:10:43 -0400 (0:00:00.336) 0:00:08.397 ****** changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/system-auth.7666.2024-10-05@11:10:44~", "changed": true, "item": "/etc/authselect/custom/password-policy/system-auth" } MSG: line added changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/password-auth.7781.2024-10-05@11:10:44~", "changed": true, "item": "/etc/authselect/custom/password-policy/password-auth" } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : Enforce root for password complexity] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:89 Saturday 05 October 2024 11:10:44 -0400 (0:00:00.682) 0:00:09.080 ****** changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/system-auth.7896.2024-10-05@11:10:44~", "changed": true, "item": "/etc/authselect/custom/password-policy/system-auth" } MSG: line replaced changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/password-auth.8011.2024-10-05@11:10:45~", "changed": true, "item": "/etc/authselect/custom/password-policy/password-auth" } MSG: line replaced TASK [fedora.linux_system_roles.pam_pwd : Set password quality] **************** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 Saturday 05 October 2024 11:10:45 -0400 (0:00:00.699) 0:00:09.779 ****** changed: [managed-node2] => { "backup_file": "/etc/security/pwquality.conf.8126.2024-10-05@11:10:45~", "changed": true } MSG: Block inserted TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8 Saturday 05 October 2024 11:10:45 -0400 (0:00:00.436) 0:00:10.216 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 Saturday 05 October 2024 11:10:45 -0400 (0:00:00.018) 0:00:10.234 ****** changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1728141038.619677-6630-92929615273105/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1728141038.619677-6630-92929615273105/.source.yml', '_original_basename': '.4vd917fj', '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}}, 'failed': False, 'item': 'CentOS-10', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".4vd917fj", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1728141038.619677-6630-92929615273105/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS-10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1728141038.619677-6630-92929615273105/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS-10.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.183852-6630-93867126240724/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.183852-6630-93867126240724/.source.yml', '_original_basename': '.wdxp32qs', '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}}, 'failed': False, 'item': 'CentOS_10', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".wdxp32qs", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml", "directory_mode": null, "follow": false, "force": true, "group": null, "local_follow": null, "mode": "0600", "owner": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1728141039.183852-6630-93867126240724/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "CentOS_10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1728141039.183852-6630-93867126240724/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS_10.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.5778723-6630-14026227450707/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.5778723-6630-14026227450707/.source.yml', '_original_basename': '.k9oj0_6v', '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}}, '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-1iG/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": ".k9oj0_6v", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-1iG/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, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1728141039.5778723-6630-14026227450707/.source.yml", "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-1728141039.5778723-6630-14026227450707/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/CentOS.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.9712374-6630-184806665855324/.source.yml', 'md5sum': '5a57da448a1d752b982858b38aab344d', 'checksum': '870b2314d3f4184a363b31373f07abb444f26444', 'changed': True, 'uid': 0, 'gid': 0, 'owner': 'root', 'group': 'root', 'mode': '0600', 'state': 'file', 'secontext': 'unconfined_u:object_r:admin_home_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1728141039.9712374-6630-184806665855324/.source.yml', '_original_basename': '.l0ft08zr', '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}}, '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-1iG/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": ".l0ft08zr", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-1iG/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, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1728141039.9712374-6630-184806665855324/.source.yml", "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-1728141039.9712374-6630-184806665855324/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml", "state": "absent" } NOTIFIED HANDLER fedora.linux_system_roles.pam_pwd : Apply authselect changes for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.pam_pwd : Apply authselect changes] *** task path: /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/handlers/main.yml:5 Saturday 05 October 2024 11:10:46 -0400 (0:00:00.898) 0:00:11.133 ****** changed: [managed-node2] => { "changed": true, "cmd": [ "authselect", "apply-changes" ], "delta": "0:00:00.013338", "end": "2024-10-05 11:10:46.988459", "rc": 0, "start": "2024-10-05 11:10:46.975121" } STDOUT: Changes were successfully applied. PLAY RECAP ********************************************************************* managed-node2 : ok=19 changed=12 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Saturday 05 October 2024 11:10:47 -0400 (0:00:00.335) 0:00:11.469 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 2.94s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Create var file in caller that can override the one in called role ------ 1.85s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Cleanup ----------------------------------------------------------------- 0.90s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 fedora.linux_system_roles.pam_pwd : Enforce root for password complexity --- 0.70s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:89 fedora.linux_system_roles.pam_pwd : Keep history of the last passwords used num 10 --- 0.68s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:75 fedora.linux_system_roles.pam_pwd : List authselect profiles ------------ 0.62s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:29 fedora.linux_system_roles.pam_pwd : Deny access after number of consecutive authentication failures num 5 --- 0.54s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:2 fedora.linux_system_roles.pam_pwd : Set password quality ---------------- 0.44s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 fedora.linux_system_roles.pam_pwd : List authselect current profile ----- 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:46 fedora.linux_system_roles.pam_pwd : Set option silent in /etc/security/faillock.conf --- 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:20 fedora.linux_system_roles.pam_pwd : Reenable access after the lock out seconds 300 --- 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:12 fedora.linux_system_roles.pam_pwd : Select profile password-policy ------ 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:58 fedora.linux_system_roles.pam_pwd : Set enable-feature with-faillock ---- 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:69 fedora.linux_system_roles.pam_pwd : Create custom authselect profile from existing profile sssd password-policy --- 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:38 fedora.linux_system_roles.pam_pwd : Apply authselect changes ------------ 0.34s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/handlers/main.yml:5 fedora.linux_system_roles.pam_pwd : List authselect current profile ----- 0.33s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:64 fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks --- 0.03s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Call role --------------------------------------------------------------- 0.02s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 caller : Assert variable not overridden --------------------------------- 0.02s /tmp/collections-1iG/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8