redeployment forgejo + setup ldap #1

Merged
mg merged 123 commits from gb into master 2024-04-04 09:48:10 +02:00
Showing only changes of commit 06492ba0fe - Show all commits

View file

@ -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
...