diff --git a/roles/wordpress/tasks/main.yml b/roles/wordpress/tasks/main.yml index 7f87522c3..4dfd3c62e 100644 --- a/roles/wordpress/tasks/main.yml +++ b/roles/wordpress/tasks/main.yml @@ -20,6 +20,7 @@ fail_msg: "PLEASE GIVE VARIABLE 'wordpress_enabled' A PROPER (UNQUOTED) BOOLEAN VALUE e.g. IN: /etc/iiab/local_vars.yml" quiet: yes + - name: Provision MySQL DB for WordPress, if 'wordpress_installed' is not defined in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml include_tasks: setup.yml when: wordpress_installed is undefined # and not installing @@ -28,6 +29,7 @@ include_tasks: install.yml when: wordpress_installed is undefined + - name: Enable/Disable/Restart Apache if primary include_tasks: apache.yml when: not nginx_enabled @@ -36,6 +38,7 @@ include_tasks: nginx.yml when: nginx_enabled | bool + - name: Add 'wordpress' variable values to {{ iiab_ini_file }} ini_file: path: "{{ iiab_ini_file }}"