Whoops. Kinda need argv there

This commit is contained in:
Salt 2020-04-30 05:41:12 -05:00
parent 1ada045fa2
commit 9fd5ca7e3f

View File

@ -89,17 +89,18 @@
group: "git"
- name: Create default user
command:
- /usr/local/bin/gitea
- admin
- create-user
- --username
- "{{ gitea_admin_username }}"
- --password
- "{{ gitea_admin_password }}"
- --email
- "{{ gitea_admin_email }}"
- --config
- /etc/gitea/app.ini
argv:
- /usr/local/bin/gitea
- admin
- create-user
- --username
- "{{ gitea_admin_username }}"
- --password
- "{{ gitea_admin_password }}"
- --email
- "{{ gitea_admin_email }}"
- --config
- /etc/gitea/app.ini
when: not p.stat.exists
- name: Template out service
template: