Premier commit

This commit is contained in:
phil
2021-01-04 22:49:46 +01:00
parent da1100578d
commit 65b2a3eaf3
538 changed files with 52570 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
wp_mysql_db: wordpress
wp_mysql_user: wp
wp_mysql_password: wp

View File

@@ -0,0 +1,3 @@
[client]
user=root
password=root

View File

@@ -0,0 +1,3 @@
---
- name: restart mysql-server
service: name=mysql-server state=restarted

View File

@@ -0,0 +1,13 @@
---
# - name: Create mysql database
# mysql_db: name={{ wp_mysql_db }} state=present
# - name: Create mysql user
# mysql_user:
# name={{ wp_mysql_user }}
# password={{ wp_mysql_password }}
# priv=*.*:ALL
# host=localhost
- name: copy .my.cnf file with root password credentials
copy: src=.my.cnf dest=/root/.my.cnf owner=root mode=0600