Jan Dittberner
7381b5bfd8
- merge improvements from the internal saltstack repository - define dummy secrets in the pillars - use systemd to setup the gvaldap celery worker
28 lines
791 B
Text
28 lines
791 B
Text
include:
|
|
- gnuviechadmin.base
|
|
- gnuviechadmin.celery
|
|
|
|
gvamysql-mysql-user:
|
|
mysql_user.present:
|
|
- name: {{ salt['pillar.get']('gnuviechadmin:mysql_admin_user', 'gvamysql') }}
|
|
- host: '%'
|
|
- password: {{ salt['pillar.get']('gnuviechadmin:mysql_admin_password') }}
|
|
|
|
gvamysql-grants-all-dbs:
|
|
mysql_grants.present:
|
|
- grant: ALL PRIVILEGES
|
|
- database: '*.*'
|
|
- grant_option: True
|
|
- user: {{ salt['pillar.get']('gnuviechadmin:mysql_admin_user', 'gvamysql') }}
|
|
- password: {{ salt['pillar.get']('gnuviechadmin:mysql_admin_password') }}
|
|
- host: '%'
|
|
- require:
|
|
- mysql_user: gvamysql-mysql-user
|
|
|
|
gvamysql-packages:
|
|
pkg.installed:
|
|
- pkgs:
|
|
- libmariadbd-dev
|
|
- libmysqlclient-dev
|
|
- require_in:
|
|
- pkg: gnuviechadmin-packages
|