1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #2130 from holta/wordpress-quick-clean

(1) Wordpress quick cleanup (2) need help understanding wordpress/tasks/main.yml
This commit is contained in:
A Holt 2020-01-12 01:14:38 -05:00 committed by GitHub
commit 31f0fb7026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,8 +1,8 @@
# SEE "emergency" REINSTALL INSTRUCTIONS IN roles/wordpress/tasks/install.yml
- name: Provision MySql DB for WordPress
- name: Provision MySQL DB for WordPress
include_tasks: setup.yml
when: wordpress_install | bool and not installing | bool
when: wordpress_install and not installing
- name: Install WordPress if wordpress_installed is absent
include_tasks: install.yml

View file

@ -3,12 +3,12 @@
state: started
name: "{{ mysql_service }}"
- name: 'Create MySQL wordpress database: {{ wp_db_name }}'
- name: 'Create MySQL database for WordPress: {{ wp_db_name }}'
mysql_db:
name: "{{ wp_db_name }}"
state: present
- name: Create MySQL wordpress database user
- name: Create MySQL username ({{ wp_db_user }}) with password, for WordPress database
mysql_user:
name: "{{ wp_db_user }}"
password: "{{ wp_db_user_password }}"