mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
use correct variable
Signed-off-by: Koen Ekelschot <koen.ekelschot@gmail.com>
This commit is contained in:
parent
53502ae102
commit
11d5b82dc3
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@
|
||||||
--must-change-password={{ item.must_change_password }} --admin={{ item.admin }}'
|
--must-change-password={{ item.must_change_password }} --admin={{ item.admin }}'
|
||||||
register: _gitearesult
|
register: _gitearesult
|
||||||
failed_when:
|
failed_when:
|
||||||
- '"successfully created" not in gitearesult.stdout'
|
- '"successfully created" not in _gitearesult.stdout'
|
||||||
changed_when:
|
changed_when:
|
||||||
- '"successfully created!" in gitearesult.stdout'
|
- '"successfully created!" in _gitearesult.stdout'
|
||||||
when: "_giteausers is defined and item.name not in _giteausers"
|
when: "_giteausers is defined and item.name not in _giteausers"
|
||||||
loop: "{{ gitea_users }}"
|
loop: "{{ gitea_users }}"
|
||||||
|
|
Loading…
Reference in a new issue