Syntaxe + login_unix_socket
This commit is contained in:
parent
9998a1f91a
commit
811b7c246f
@ -29,7 +29,9 @@
|
|||||||
file: path=/etc/nginx/sites-enabled/default state=absent
|
file: path=/etc/nginx/sites-enabled/default state=absent
|
||||||
|
|
||||||
- name: Creation fichier block nginx
|
- name: Creation fichier block nginx
|
||||||
template: src=block.j2 dest=/etc/nginx/sites-enabled/glpi
|
template:
|
||||||
|
src: block.j2
|
||||||
|
dest: /etc/nginx/sites-enabled/glpi
|
||||||
|
|
||||||
- name: Remplacement dans le fichier de conf php du timeout
|
- name: Remplacement dans le fichier de conf php du timeout
|
||||||
replace:
|
replace:
|
||||||
@ -42,13 +44,17 @@
|
|||||||
- restart nginx
|
- restart nginx
|
||||||
|
|
||||||
- name: Creation de la base de donnee mysql
|
- name: Creation de la base de donnee mysql
|
||||||
mysql_db: name={{ glpi_dbname }} state=present
|
mysql_db:
|
||||||
|
name: "{{ glpi_dbname }}"
|
||||||
|
state: present
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
- name: Creation de l'utilisateur mysql avec tous les privileges
|
- name: Creation de l'utilisateur mysql avec tous les privileges
|
||||||
mysql_user:
|
mysql_user:
|
||||||
name={{ glpi_dbuser }}
|
name: "{{ glpi_dbuser }}"
|
||||||
password={{ glpi_dbpasswd }}
|
password: "{{ glpi_dbpasswd }}"
|
||||||
priv=*.*:ALL
|
priv: '*.*:ALL,GRANT'
|
||||||
|
login_unix_socket: /var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
- name: Creation du repertoire {{ glpi_dir }}
|
- name: Creation du repertoire {{ glpi_dir }}
|
||||||
file:
|
file:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user