diff --git a/roles/elgg/tasks/main.yml b/roles/elgg/tasks/main.yml index 05d804b09..75ab40fce 100644 --- a/roles/elgg/tasks/main.yml +++ b/roles/elgg/tasks/main.yml @@ -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 }}"