Skip to content

Commit

Permalink
Update pam.yml
Browse files Browse the repository at this point in the history
updated failed_when statement in RHEL block.
  • Loading branch information
barstown authored Jun 20, 2024
1 parent 1ab6db1 commit ec771f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/access_conf/tasks/pam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
ansible.builtin.debug:
msg: "{{ authselect_current_output.stdout }}"
failed_when: >
not authselect_current_output.stdout | search('Profile ID: minimal|Profile ID: sssd|Profile ID: winbind')
("Profile ID: minimal" not in authselect_current_output.stdout) and
("Profile ID: sssd" not in authselect_current_output.stdout) and
("Profile ID: winbind" not in authselect_current_output.stdout)
- name: pam | Enable authselect feature with-pamaccess
ansible.builtin.command:
Expand Down

0 comments on commit ec771f1

Please sign in to comment.