mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Mostly var cleanup across ~80 files
This commit is contained in:
parent
a6112381a3
commit
814efd5a02
88 changed files with 679 additions and 260 deletions
|
@ -78,13 +78,13 @@
|
|||
|
||||
- name: Remove Apache's stock moodle.conf
|
||||
file:
|
||||
path: "/etc/{{ apache_config_dir }}/moodle.conf"
|
||||
path: "/etc/{{ apache_conf_dir }}/moodle.conf"
|
||||
state: absent
|
||||
|
||||
- name: Install Apache's 022-moodle.conf from template, if moodle_enabled
|
||||
template:
|
||||
src: 022-moodle.j2
|
||||
dest: "/etc/{{ apache_config_dir }}/022-moodle.conf"
|
||||
dest: "/etc/{{ apache_conf_dir }}/022-moodle.conf"
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: '0644'
|
||||
|
@ -147,6 +147,13 @@
|
|||
path: "{{ moodle_base }}/config.php"
|
||||
mode: '0644'
|
||||
|
||||
|
||||
# RECORD Moodle AS INSTALLED
|
||||
|
||||
- name: "Set 'moodle_installed: True'"
|
||||
set_fact:
|
||||
moodle_installed: True
|
||||
|
||||
- name: "Add 'moodle_installed: True' to {{ iiab_state_file }}"
|
||||
lineinfile:
|
||||
dest: "{{ iiab_state_file }}" # /etc/iiab/iiab_state.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue