1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Spacing in wordpress/tasks/main.yml

This commit is contained in:
A Holt 2020-01-23 16:43:16 -05:00 committed by GitHub
parent a5fea5b3e6
commit 845a20fba7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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