1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-10-31 02:54:00 -04:00 committed by GitHub
parent 77044a2570
commit 5d2c4327fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@
name: /tmp/elggdb.sql
state: absent
- name: Install Apache's elgg.conf from template, for http://box/elgg
- name: Install /etc/{{ apache_config_dir }}/elgg.conf from template, for http://box/elgg
template:
src: elgg.conf
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
@ -131,7 +131,7 @@
state: link
when: elgg_enabled and is_debuntu
- name: Remove symlink elgg.conf from sites-enabled (debuntu)
- name: Remove symlink /etc/apache2/sites-enabled/elgg.conf (debuntu)
file:
path: /etc/apache2/sites-enabled/elgg.conf
state: absent
@ -143,14 +143,14 @@
state: absent
when: not elgg_enabled and is_redhat
- name: Restart Apache, to enable/disable http://box/elgg
- name: Restart Apache ({{ apache_service }}), to enable/disable http://box/elgg
service:
name: "{{ apache_service }}"
state: restarted
- name: Add 'elgg' to list of services at {{ iiab_ini_file }}
- name: Add 'elgg' variable values to {{ iiab_ini_file }}
ini_file:
dest: "{{ iiab_ini_file }}"
path: "{{ iiab_ini_file }}"
section: elgg
option: "{{ item.option }}"
value: "{{ item.value }}"