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_default.yml **************************************************** 1 plays in /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_default.yml:3 Saturday 05 October 2024 11:11:01 -0400 (0:00:00.024) 0:00:00.024 ****** ok: [managed-node1] META: ran handlers TASK [fedora.linux_system_roles.pam_pwd : Perform platform/version specific tasks] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4 Saturday 05 October 2024 11:11:02 -0400 (0:00:01.245) 0:00:01.270 ****** included: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml for managed-node1 TASK [fedora.linux_system_roles.pam_pwd : RHEL 7 Keep history of the last passwords used] *** task path: /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:2 Saturday 05 October 2024 11:11:02 -0400 (0:00:00.065) 0:00:01.335 ****** changed: [managed-node1] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9436.2024-10-05@11:11:02~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node1] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9488.2024-10-05@11:11:03~", "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-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 Saturday 05 October 2024 11:11:03 -0400 (0:00:00.875) 0:00:02.210 ****** changed: [managed-node1] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9540.2024-10-05@11:11:03~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node1] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9592.2024-10-05@11:11:03~", "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-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:27 Saturday 05 October 2024 11:11:04 -0400 (0:00:00.628) 0:00:02.839 ****** changed: [managed-node1] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9644.2024-10-05@11:11:04~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node1] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9696.2024-10-05@11:11:04~", "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-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:41 Saturday 05 October 2024 11:11:04 -0400 (0:00:00.632) 0:00:03.472 ****** changed: [managed-node1] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9748.2024-10-05@11:11:04~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line added changed: [managed-node1] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9800.2024-10-05@11:11:05~", "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-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:55 Saturday 05 October 2024 11:11:05 -0400 (0:00:00.699) 0:00:04.171 ****** changed: [managed-node1] => (item=/etc/pam.d/system-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/system-auth.9852.2024-10-05@11:11:05~", "changed": true, "item": "/etc/pam.d/system-auth" } MSG: line replaced changed: [managed-node1] => (item=/etc/pam.d/password-auth) => { "ansible_loop_var": "item", "backup": "/etc/pam.d/password-auth.9904.2024-10-05@11:11:05~", "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-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:17 Saturday 05 October 2024 11:11:06 -0400 (0:00:00.719) 0:00:04.891 ****** changed: [managed-node1] => { "changed": true } MSG: Block inserted META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=8 changed=6 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Saturday 05 October 2024 11:11:06 -0400 (0:00:00.561) 0:00:05.452 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/tests/pam_pwd/tests_default.yml:3 fedora.linux_system_roles.pam_pwd : RHEL 7 Keep history of the last passwords used --- 0.88s /tmp/collections-rI2/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.72s /tmp/collections-rI2/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 authfail --- 0.70s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:41 fedora.linux_system_roles.pam_pwd : RHEL 7 configure pam_faillock.so for preauth --- 0.63s /tmp/collections-rI2/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 ---- 0.63s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/setup/CentOS_7.yml:15 fedora.linux_system_roles.pam_pwd : Set password quality ---------------- 0.56s /tmp/collections-rI2/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.07s /tmp/collections-rI2/ansible_collections/fedora/linux_system_roles/roles/pam_pwd/tasks/main.yml:4