mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update moodle/tasks/enable.yml
This commit is contained in:
parent
bf3655c12b
commit
e6704006f4
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
- name: Enable postgresql-iiab service when moodle_enabled
|
- name: Enable 'postgresql-iiab' systemd service, if moodle_enabled
|
||||||
systemd:
|
systemd:
|
||||||
name: postgresql-iiab
|
name: postgresql-iiab
|
||||||
state: started
|
state: started
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
when: moodle_enabled
|
when: moodle_enabled
|
||||||
|
|
||||||
# if the only service using the backend db disable if not running
|
# if the only service using the backend db disable if not running
|
||||||
- name: Disable postgresql-iiab service when not moodle_enabled
|
- name: Disable 'postgresql-iiab' systemd service, if not moodle_enabled
|
||||||
systemd:
|
systemd:
|
||||||
name: postgresql-iiab
|
name: postgresql-iiab
|
||||||
state: stopped
|
state: stopped
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
command: a2dissite 022-moodle.conf
|
command: a2dissite 022-moodle.conf
|
||||||
when: apache_install and not moodle_enabled
|
when: apache_install and not moodle_enabled
|
||||||
|
|
||||||
- name: Restart Apache systemd service ({{ apache_service }})
|
- name: Restart '{{ apache_service }}' systemd service
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
|
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue