Skip to content

Commit

Permalink
use correct variable
Browse files Browse the repository at this point in the history
Signed-off-by: Koen Ekelschot <[email protected]>
  • Loading branch information
koenekelschot authored Apr 7, 2024
1 parent 53502ae commit 11d5b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/local_git_users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 11d5b82

Please sign in to comment.