This commit is contained in:
Michael Grote 2024-04-03 23:07:25 +02:00
parent 42c9ddd3cb
commit 86bb918df6

View file

@ -22,10 +22,11 @@
ignore_errors: true ignore_errors: true
failed_when: 'not "Command error: login source already exists [name: lldap]" in configured.stderr' failed_when: 'not "Command error: login source already exists [name: lldap]" in configured.stderr'
become_user: gitea become_user: gitea
changed_when: "configured.rc == 0"
#- name: debug - name: debug
# ansible.builtin.debug: ansible.builtin.debug:
# msg: "{{ configured }}" msg: "{{ configured }}"
- name: Modify LDAP config - name: Modify LDAP config
ansible.builtin.command: | ansible.builtin.command: |