Commit d7f4a8f0 authored by Okhin's avatar Okhin

Ajout de role pour mysql, début du travail avec certbor.

parent d6520944
[submodule "roles/wordpress"]
path = roles/wordpress
url = gitlab@git.laquadrature.net:lqdn-interne/piops-roles/wordpress.git
[submodule "roles/wpcli"]
path = roles/wpcli
url = gitlab@git.laquadrature.net:lqdn-interne/piops-roles/wpcli.git
wordpress_unix_user: grange
wordpress_wpcli_path: /usr/local/bin/wp-cli.phar
wordpress_path: /srv/wordpress/
mysql_databases:
- name: grange_wp
mysql_users:
- name: datafoin
password: '*C1CF529FEEC3F0AF0DBF1D9383CBFFBB78070C61'
encrypted: yes
priv: grange_wp.*:ALL
state: present
......@@ -6,5 +6,5 @@ pi3.lqdn.fr
[wordpress]
pi3.lqdn.fr
[php5]
[webserver]
pi3.lqdn.fr
Subproject commit bedbe764ee2cf80b45040e942ff64533741fc116
Subproject commit 9f69a045e522b142ca2e2d63d5899a4703e03b73
Subproject commit da6c36f5c97338d6b15e0429ea7c378355cdb545
......@@ -41,3 +41,15 @@
group: root
mode: 0644
- hosts: webserver
remote_user: root
roles:
- { role: geerlingguy.mysql }
- { role: geerlingguy.php }
- { role: geerlingguy.php-mysql }
- { role: geerlingguy.certbot }
- hosts: wordpress
remote_user: root
roles:
- { role: wpcli }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment