diff --git a/roles/mgrote_gitea_setup/tasks/main.yml b/roles/mgrote_gitea_setup/tasks/main.yml index e431031f..757ccfe7 100644 --- a/roles/mgrote_gitea_setup/tasks/main.yml +++ b/roles/mgrote_gitea_setup/tasks/main.yml @@ -22,10 +22,11 @@ ignore_errors: true failed_when: 'not "Command error: login source already exists [name: lldap]" in configured.stderr' become_user: gitea + changed_when: "configured.rc == 0" -#- name: debug -# ansible.builtin.debug: -# msg: "{{ configured }}" +- name: debug + ansible.builtin.debug: + msg: "{{ configured }}" - name: Modify LDAP config ansible.builtin.command: |