mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update main.yml
This commit is contained in:
parent
77044a2570
commit
5d2c4327fc
1 changed files with 5 additions and 5 deletions
|
@ -119,7 +119,7 @@
|
||||||
name: /tmp/elggdb.sql
|
name: /tmp/elggdb.sql
|
||||||
state: absent
|
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:
|
template:
|
||||||
src: elgg.conf
|
src: elgg.conf
|
||||||
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
|
dest: "/etc/{{ apache_config_dir }}/elgg.conf"
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
state: link
|
state: link
|
||||||
when: elgg_enabled and is_debuntu
|
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:
|
file:
|
||||||
path: /etc/apache2/sites-enabled/elgg.conf
|
path: /etc/apache2/sites-enabled/elgg.conf
|
||||||
state: absent
|
state: absent
|
||||||
|
@ -143,14 +143,14 @@
|
||||||
state: absent
|
state: absent
|
||||||
when: not elgg_enabled and is_redhat
|
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:
|
service:
|
||||||
name: "{{ apache_service }}"
|
name: "{{ apache_service }}"
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
- name: Add 'elgg' to list of services at {{ iiab_ini_file }}
|
- name: Add 'elgg' variable values to {{ iiab_ini_file }}
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ iiab_ini_file }}"
|
path: "{{ iiab_ini_file }}"
|
||||||
section: elgg
|
section: elgg
|
||||||
option: "{{ item.option }}"
|
option: "{{ item.option }}"
|
||||||
value: "{{ item.value }}"
|
value: "{{ item.value }}"
|
||||||
|
|
Loading…
Reference in a new issue