forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster/roles/nginx-frontend/templates/dataminer1-d-d4s.d4science.org-virtualhost.j2: Modify the log format to be http compliant.
library/roles/mysql/tasks/manage_my_db.yml: Manage additional grant privileges. library/vars/isti-global.yml: Add the IP of analytics.d4science.org.
This commit is contained in:
parent
c84512a4f0
commit
0065b6a1b0
|
@ -11,4 +11,14 @@
|
||||||
- '{{ mysql_db_data | default([]) }}'
|
- '{{ mysql_db_data | default([]) }}'
|
||||||
- allowed_hosts
|
- allowed_hosts
|
||||||
when: item.0.name is defined
|
when: item.0.name is defined
|
||||||
tags: [ 'mysql', 'mysql_db' ]
|
tags: [ 'mysql', 'mysql_db', 'mysql_user' ]
|
||||||
|
|
||||||
|
- name: Additional user privileges, if defined
|
||||||
|
mysql_user: name={{ item.0.user }} append_privs=yes priv="{{ item.0.name }}.*:{{ item.0.additional_privs }}" state=present
|
||||||
|
with_subelements:
|
||||||
|
- '{{ mysql_db_data | default([]) }}'
|
||||||
|
- allowed_hosts
|
||||||
|
when:
|
||||||
|
- item.0.name is defined
|
||||||
|
- item.0.additional_privs is defined
|
||||||
|
tags: [ 'mysql', 'mysql_db', 'mysql_user' ]
|
||||||
|
|
|
@ -20,4 +20,6 @@ piwik_pkgs:
|
||||||
- php5-json
|
- php5-json
|
||||||
- php5-ldap
|
- php5-ldap
|
||||||
- php5-gd
|
- php5-gd
|
||||||
|
- php5-redis
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue