Add default user if we're generating a DB
This commit is contained in:
parent
2b1ed0daf1
commit
a7f2afd43a
@ -11,6 +11,7 @@
|
||||
login_user: root
|
||||
login_password: "{{ mysql_root_password }}"
|
||||
state: present
|
||||
notify: gitea add default user
|
||||
- name: Create user
|
||||
mysql_user:
|
||||
name: gitea
|
||||
@ -93,7 +94,6 @@
|
||||
mode: "0640"
|
||||
owner: "root"
|
||||
group: "git"
|
||||
notify: gitea add default user
|
||||
when: not p.stat.exists
|
||||
- name: Template out service
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user