Skip to content

Commit

Permalink
Merge pull request #11982 from vojtapolasek/fix_ansible_sssd_enable_p…
Browse files Browse the repository at this point in the history
…am_services_master

Add when conditional to Ansible remediation of sssd_enable_pam_services
  • Loading branch information
jan-cerny committed May 10, 2024
2 parents 4c4badb + 98cd93e commit 5a9dce4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
replace: '\1,pam'
with_items: "{{ sssd_conf_d_files.files | map(attribute='path') }}"
register: modify_lines_sssd_conf_d_files
when: sssd_conf_d_files.matched is defined and sssd_conf_d_files.matched >= 1

- name: {{{ rule_title }}} - Find /etc/sssd/sssd.conf
ansible.builtin.stat:
Expand Down

0 comments on commit 5a9dce4

Please sign in to comment.