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_user: root
|
||||||
login_password: "{{ mysql_root_password }}"
|
login_password: "{{ mysql_root_password }}"
|
||||||
state: present
|
state: present
|
||||||
|
notify: gitea add default user
|
||||||
- name: Create user
|
- name: Create user
|
||||||
mysql_user:
|
mysql_user:
|
||||||
name: gitea
|
name: gitea
|
||||||
@ -93,7 +94,6 @@
|
|||||||
mode: "0640"
|
mode: "0640"
|
||||||
owner: "root"
|
owner: "root"
|
||||||
group: "git"
|
group: "git"
|
||||||
notify: gitea add default user
|
|
||||||
when: not p.stat.exists
|
when: not p.stat.exists
|
||||||
- name: Template out service
|
- name: Template out service
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user