dd
This commit is contained in:
parent
85e13d9369
commit
06492ba0fe
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
--synchronize-users
|
||||
register: configured
|
||||
ignore_errors: true
|
||||
failed_when: 'not "Command error: login source already exists [name: lldap]" in configured.stderr'
|
||||
become_user: gitea
|
||||
|
||||
- name: debug
|
||||
|
@ -28,7 +29,7 @@
|
|||
|
||||
- name: Modify LDAP config
|
||||
ansible.builtin.command: cat /etc/motd
|
||||
when: not configured.changed or configured
|
||||
when: '"Command error: login source already exists [name: lldap]" in configured.stderr'
|
||||
become_user: gitea
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue