mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
MediaWiki + Sugarizer + WordPress w/o Apache
This commit is contained in:
parent
8ed105a02b
commit
079e5e04e0
14 changed files with 15 additions and 42 deletions
|
@ -112,12 +112,6 @@
|
|||
group: "{{ apache_user }}" # DO WE REALLY STILL WANT THIS FOR NGINX?
|
||||
mode: '0660' # Others strongly recommend '0600' (or do PHP/Apache/NGINX really need group read & write permissions?)
|
||||
|
||||
- name: Install /etc/{{ apache_conf_dir }}/wordpress.conf from template, for http://box{{ wp_url }} via Apache
|
||||
template:
|
||||
src: wordpress.conf.j2
|
||||
dest: "/etc/{{ apache_conf_dir }}/wordpress.conf"
|
||||
when: apache_installed is defined
|
||||
|
||||
|
||||
# RECORD WordPress AS INSTALLED
|
||||
|
||||
|
|
|
@ -30,13 +30,8 @@
|
|||
when: wordpress_installed is undefined
|
||||
|
||||
|
||||
- name: Enable/Disable/Restart Apache if primary
|
||||
include_tasks: apache.yml
|
||||
when: not nginx_enabled
|
||||
|
||||
- name: Enable/Disable/Restart NGINX if primary
|
||||
- name: Enable/Disable/Restart NGINX
|
||||
include_tasks: nginx.yml
|
||||
when: nginx_enabled
|
||||
|
||||
|
||||
- name: Add 'wordpress' variable values to {{ iiab_ini_file }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue