1
0
Fork 0
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:
A Holt 2020-01-23 23:07:10 -05:00 committed by GitHub
parent bf3655c12b
commit e6704006f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
- name: Enable postgresql-iiab service when moodle_enabled
- name: Enable 'postgresql-iiab' systemd service, if moodle_enabled
systemd:
name: postgresql-iiab
state: started
@ -6,7 +6,7 @@
when: moodle_enabled
# 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:
name: postgresql-iiab
state: stopped
@ -23,7 +23,7 @@
command: a2dissite 022-moodle.conf
when: apache_install and not moodle_enabled
- name: Restart Apache systemd service ({{ apache_service }})
- name: Restart '{{ apache_service }}' systemd service
systemd:
name: "{{ apache_service }}" # apache2 or httpd, as set in /opt/iiab/iiab/vars/<OS>.yml
state: restarted