Add default user if we're generating a DB

This commit is contained in:
Salt 2020-04-30 07:07:18 -05:00
parent 2b1ed0daf1
commit a7f2afd43a

View File

@ -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: