diff --git a/roles/mgrote_gitea_setup/tasks/admin.yml b/roles/mgrote_gitea_setup/tasks/admin.yml index deb69b05..230214e2 100644 --- a/roles/mgrote_gitea_setup/tasks/admin.yml +++ b/roles/mgrote_gitea_setup/tasks/admin.yml @@ -30,5 +30,5 @@ --password "{{ gitea_admin_user_pass }}" \ --email "{{ gitea_admin_user }}@mgrote.net" \ --admin - when: 'not "gitea_admin_user" in check.stdout' + when: 'not "{{ gitea_admin_user }}@mgrote.net" in check.stdout' ...