From 86bb918df62b748762d725d5b0fe3acf48007c88 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 3 Apr 2024 23:07:25 +0200 Subject: [PATCH] dd --- roles/mgrote_gitea_setup/tasks/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: |