Fix not including tasks to add user
This commit is contained in:
parent
30bed76efe
commit
988246ac66
@ -7,4 +7,4 @@
|
|||||||
name: gitea.service
|
name: gitea.service
|
||||||
state: restarted
|
state: restarted
|
||||||
- name: gitea add default user
|
- name: gitea add default user
|
||||||
import_tasks: tasks/add_default_user.yml
|
include_tasks: tasks/add_default_user.yml
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
#!/usr/bin/ansible-playbook
|
#!/usr/bin/ansible-playbook
|
||||||
# vim:ft=ansible:
|
# vim:ft=ansible:
|
||||||
---
|
---
|
||||||
- name: Create user
|
- block:
|
||||||
|
- name: Create user
|
||||||
command:
|
command:
|
||||||
argv:
|
argv:
|
||||||
- /usr/local/bin/gitea
|
- /usr/local/bin/gitea
|
||||||
@ -16,9 +17,7 @@
|
|||||||
- "{{ gitea_admin_email }}"
|
- "{{ gitea_admin_email }}"
|
||||||
- --config
|
- --config
|
||||||
- /etc/gitea/app.ini
|
- /etc/gitea/app.ini
|
||||||
become: yes
|
- name: Promote user to admin
|
||||||
become_user: git
|
|
||||||
- name: Promote user to admin
|
|
||||||
command:
|
command:
|
||||||
argv:
|
argv:
|
||||||
- /usr/bin/mysql
|
- /usr/bin/mysql
|
||||||
|
Loading…
x
Reference in New Issue
Block a user