From 11d5b82dc3bdcddf87cfa33044f95b1b17e21af3 Mon Sep 17 00:00:00 2001 From: Koen Ekelschot Date: Sun, 7 Apr 2024 13:56:18 +0200 Subject: [PATCH] use correct variable Signed-off-by: Koen Ekelschot --- tasks/local_git_users.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/local_git_users.yml b/tasks/local_git_users.yml index 3a741c9..4c34613 100644 --- a/tasks/local_git_users.yml +++ b/tasks/local_git_users.yml @@ -15,8 +15,8 @@ --must-change-password={{ item.must_change_password }} --admin={{ item.admin }}' register: _gitearesult failed_when: - - '"successfully created" not in gitearesult.stdout' + - '"successfully created" not in _gitearesult.stdout' changed_when: - - '"successfully created!" in gitearesult.stdout' + - '"successfully created!" in _gitearesult.stdout' when: "_giteausers is defined and item.name not in _giteausers" loop: "{{ gitea_users }}"