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" group: "git"
- name: Create default user - name: Create default user
command: command:
- /usr/local/bin/gitea argv:
- admin - /usr/local/bin/gitea
- create-user - admin
- --username - create-user
- "{{ gitea_admin_username }}" - --username
- --password - "{{ gitea_admin_username }}"
- "{{ gitea_admin_password }}" - --password
- --email - "{{ gitea_admin_password }}"
- "{{ gitea_admin_email }}" - --email
- --config - "{{ gitea_admin_email }}"
- /etc/gitea/app.ini - --config
- /etc/gitea/app.ini
when: not p.stat.exists when: not p.stat.exists
- name: Template out service - name: Template out service
template: template: