Skip to content

Commit

Permalink
Fix change in enable_authselect Ansible remediation
Browse files Browse the repository at this point in the history
The a7cdf35 changed the Ansible
Playbook behavior aiming to satisfy the ansible-lint. However, the
change allowed a task intended to only collect information to cause a
fatal error in the Playbook. The taks should not cause fatal error
because its result is intentionally tested by subsequent tasks.
  • Loading branch information
marcusburghardt committed Apr 4, 2023
1 parent f7d5545 commit 2db4528
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
ansible.builtin.command:
cmd: authselect select "{{ var_authselect_profile }}"
register: result_authselect_select
failed_when: result_authselect_select.rc not in [0, 4]
failed_when: false

- name: Verify if PAM has been altered
ansible.builtin.command:
Expand Down

0 comments on commit 2db4528

Please sign in to comment.