ansible-playbook [core 2.17.6] 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-Gb1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.7 (main, Oct 1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] (/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-Gb1/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-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:2 Saturday 30 November 2024 10:07:49 -0500 (0:00:00.007) 0:00:00.007 ***** [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-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Saturday 30 November 2024 10:07:52 -0500 (0:00:03.333) 0:00:03.340 ***** changed: [managed-node2 -> localhost] => (item=Fedora-40) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.yml", "gid": 0, "group": "root", "item": "Fedora-40", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979273.0619094-4187-235856342771487/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=Fedora_40) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.yml", "gid": 0, "group": "root", "item": "Fedora_40", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979273.6890123-4187-264835018299024/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=Fedora) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.yml", "gid": 0, "group": "root", "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979274.1150687-4187-103633128546875/.source.yml", "state": "file", "uid": 0 } changed: [managed-node2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/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:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979274.5441182-4187-128776903735148/.source.yml", "state": "file", "uid": 0 } TASK [Call role] *************************************************************** task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 Saturday 30 November 2024 10:07:54 -0500 (0:00:01.996) 0:00:05.337 ***** 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Saturday 30 November 2024 10:07:55 -0500 (0:00:00.031) 0:00:05.368 ***** included: /tmp/collections-Gb1/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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:2 Saturday 30 November 2024 10:07:55 -0500 (0:00:00.039) 0:00:05.408 ***** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.4171.2024-11-30@10:07:55~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : Reenable access after the lock out seconds 300] *** task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:12 Saturday 30 November 2024 10:07:55 -0500 (0:00:00.506) 0:00:05.915 ***** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.4322.2024-11-30@10:07:55~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : Set option silent in /etc/security/faillock.conf] *** task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:20 Saturday 30 November 2024 10:07:55 -0500 (0:00:00.379) 0:00:06.294 ***** changed: [managed-node2] => { "backup": "/etc/security/faillock.conf.4473.2024-11-30@10:07:56~", "changed": true } MSG: line added TASK [fedora.linux_system_roles.pam_pwd : List authselect profiles] ************ task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:29 Saturday 30 November 2024 10:07:56 -0500 (0:00:00.382) 0:00:06.677 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "list" ], "delta": "0:00:00.097553", "end": "2024-11-30 10:07:56.819067", "rc": 0, "start": "2024-11-30 10:07:56.721514" } STDOUT: - local Local users only - nis Enable NIS for system authentication - 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:38 Saturday 30 November 2024 10:07:56 -0500 (0:00:00.559) 0:00:07.236 ***** 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.004353", "end": "2024-11-30 10:07:57.203877", "rc": 0, "start": "2024-11-30 10:07:57.199524" } 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:46 Saturday 30 November 2024 10:07:57 -0500 (0:00:00.380) 0:00:07.617 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "current" ], "delta": "0:00:00.003873", "end": "2024-11-30 10:07:57.606078", "failed_when_result": false, "rc": 0, "start": "2024-11-30 10:07:57.602205" } STDOUT: Profile ID: local Enabled features: - with-silent-lastlog TASK [fedora.linux_system_roles.pam_pwd : Select profile password-policy] ****** task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:58 Saturday 30 November 2024 10:07:57 -0500 (0:00:00.405) 0:00:08.022 ***** 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.015656", "end": "2024-11-30 10:07:58.002361", "rc": 0, "start": "2024-11-30 10:07:57.986705" } STDOUT: Backup stored at /var/lib/authselect/backups/2024-11-30-15-07-57.SwCwtC 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:64 Saturday 30 November 2024 10:07:58 -0500 (0:00:00.390) 0:00:08.413 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "authselect", "current" ], "delta": "0:00:00.003232", "end": "2024-11-30 10:07:58.394943", "rc": 0, "start": "2024-11-30 10:07:58.391711" } 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:69 Saturday 30 November 2024 10:07:58 -0500 (0:00:00.392) 0:00:08.806 ***** 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.011944", "end": "2024-11-30 10:07:58.771299", "rc": 0, "start": "2024-11-30 10:07:58.759355" } 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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:75 Saturday 30 November 2024 10:07:58 -0500 (0:00:00.383) 0:00:09.189 ***** changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/system-auth.5524.2024-11-30@10:07:59~", "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.5675.2024-11-30@10:07:59~", "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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:89 Saturday 30 November 2024 10:07:59 -0500 (0:00:00.814) 0:00:10.004 ***** changed: [managed-node2] => (item=/etc/authselect/custom/password-policy/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/authselect/custom/password-policy/system-auth.5826.2024-11-30@10:07:59~", "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.5977.2024-11-30@10:08:00~", "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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 Saturday 30 November 2024 10:08:00 -0500 (0:00:00.777) 0:00:10.781 ***** changed: [managed-node2] => { "backup_file": "/etc/security/pwquality.conf.6128.2024-11-30@10:08:00~", "changed": true } MSG: Block inserted TASK [caller : Assert variable not overridden] ********************************* task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8 Saturday 30 November 2024 10:08:00 -0500 (0:00:00.534) 0:00:11.315 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Cleanup] ***************************************************************** task path: /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 Saturday 30 November 2024 10:08:00 -0500 (0:00:00.019) 0:00:11.335 ***** changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1732979273.0619094-4187-235856342771487/.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:user_tmp_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1732979273.0619094-4187-235856342771487/.source.yml', '_original_basename': '.121e2dei', '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': 'Fedora-40', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".121e2dei", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.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-1732979273.0619094-4187-235856342771487/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora-40", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979273.0619094-4187-235856342771487/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora-40.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1732979273.6890123-4187-264835018299024/.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:user_tmp_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1732979273.6890123-4187-264835018299024/.source.yml', '_original_basename': '.860xiua4', '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': 'Fedora_40', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".860xiua4", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.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-1732979273.6890123-4187-264835018299024/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora_40", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979273.6890123-4187-264835018299024/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora_40.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1732979274.1150687-4187-103633128546875/.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:user_tmp_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1732979274.1150687-4187-103633128546875/.source.yml', '_original_basename': '.2cjx_lgi', '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': 'Fedora', 'ansible_loop_var': 'item'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.yml", "diff": [], "failed": false, "gid": 0, "group": "root", "invocation": { "module_args": { "_original_basename": ".2cjx_lgi", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.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-1732979274.1150687-4187-103633128546875/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "Fedora", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979274.1150687-4187-103633128546875/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/Fedora.yml", "state": "absent" } changed: [managed-node2 -> localhost] => (item={'diff': [], 'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', 'src': '/root/.ansible/tmp/ansible-tmp-1732979274.5441182-4187-128776903735148/.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:user_tmp_t:s0', 'size': 23, 'invocation': {'module_args': {'dest': '/tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/vars/RedHat.yml', 'mode': '0600', 'src': '/root/.ansible/tmp/ansible-tmp-1732979274.5441182-4187-128776903735148/.source.yml', '_original_basename': '.86adpurm', '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-Gb1/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": ".86adpurm", "attributes": null, "backup": false, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "content": null, "dest": "/tmp/collections-Gb1/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-1732979274.5441182-4187-128776903735148/.source.yml", "unsafe_writes": false, "validate": null } }, "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1732979274.5441182-4187-128776903735148/.source.yml", "state": "file", "uid": 0 }, "path": "/tmp/collections-Gb1/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-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/handlers/main.yml:5 Saturday 30 November 2024 10:08:01 -0500 (0:00:00.937) 0:00:12.273 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "authselect", "apply-changes" ], "delta": "0:00:00.014730", "end": "2024-11-30 10:08:02.238520", "rc": 0, "start": "2024-11-30 10:08:02.223790" } STDOUT: Changes were successfully applied. PLAY RECAP ********************************************************************* managed-node2 : ok=19 changed=12 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Saturday 30 November 2024 10:08:02 -0500 (0:00:00.374) 0:00:12.647 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 3.33s /tmp/collections-Gb1/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 ------ 2.00s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:6 Cleanup ----------------------------------------------------------------- 0.94s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_include_vars_from_parent.yml:47 fedora.linux_system_roles.pam_pwd : Keep history of the last passwords used num 10 --- 0.81s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:75 fedora.linux_system_roles.pam_pwd : Enforce root for password complexity --- 0.78s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:89 fedora.linux_system_roles.pam_pwd : List authselect profiles ------------ 0.56s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:29 fedora.linux_system_roles.pam_pwd : Set password quality ---------------- 0.53s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 fedora.linux_system_roles.pam_pwd : Deny access after number of consecutive authentication failures num 5 --- 0.51s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:2 fedora.linux_system_roles.pam_pwd : List authselect current profile ----- 0.41s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:46 fedora.linux_system_roles.pam_pwd : List authselect current profile ----- 0.39s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:64 fedora.linux_system_roles.pam_pwd : Select profile password-policy ------ 0.39s /tmp/collections-Gb1/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.38s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:69 fedora.linux_system_roles.pam_pwd : Set option silent in /etc/security/faillock.conf --- 0.38s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:20 fedora.linux_system_roles.pam_pwd : Create custom authselect profile from existing profile sssd password-policy --- 0.38s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:38 fedora.linux_system_roles.pam_pwd : Reenable access after the lock out seconds 300 --- 0.38s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/default.yml:12 fedora.linux_system_roles.pam_pwd : Apply authselect changes ------------ 0.37s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/handlers/main.yml:5 fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks --- 0.04s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Call role --------------------------------------------------------------- 0.03s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:4 caller : Assert variable not overridden --------------------------------- 0.02s /tmp/collections-Gb1/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/roles/caller/tasks/main.yml:8