1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

more apache

This commit is contained in:
Jerry Vonau 2021-06-28 14:05:19 -05:00
parent 731a3858b1
commit 4545856f88

View file

@ -98,16 +98,16 @@
group: "{{ apache_user }}" group: "{{ apache_user }}"
#mode: '0770' # Regardless, permissions end up as: drwxrwsrwx #mode: '0770' # Regardless, permissions end up as: drwxrwsrwx
- name: Remove stock /etc/{{ apache_conf_dir }}/moodle.conf #- name: Remove stock /etc/{{ apache_conf_dir }}/moodle.conf
file: # file:
path: "/etc/{{ apache_conf_dir }}/moodle.conf" # apache2/sites-available # path: "/etc/{{ apache_conf_dir }}/moodle.conf" # apache2/sites-available
state: absent # state: absent
# 2021-02-01: Not nec if we can hopefully migrate from Apache to NGINX soon! # 2021-02-01: Not nec if we can hopefully migrate from Apache to NGINX soon!
- name: Install /etc/{{ apache_conf_dir }}/022-moodle.conf from template #- name: Install /etc/{{ apache_conf_dir }}/022-moodle.conf from template
template: # template:
src: 022-moodle.j2 # src: 022-moodle.j2
dest: "/etc/{{ apache_conf_dir }}/022-moodle.conf" # dest: "/etc/{{ apache_conf_dir }}/022-moodle.conf"
# roles/postgresql/templates/postgresql-iiab.service WAS INSTALLED HERE: # roles/postgresql/templates/postgresql-iiab.service WAS INSTALLED HERE:
# /etc/systemd/system/postgresql-iiab.service # /etc/systemd/system/postgresql-iiab.service
@ -148,10 +148,10 @@
state: restarted state: restarted
#enabled: yes # Service ends up enabled regardless #enabled: yes # Service ends up enabled regardless
- name: (Re)Start '{{ apache_service }}' systemd service #- name: (Re)Start '{{ apache_service }}' systemd service
systemd: # systemd:
name: "{{ apache_service }}" # name: "{{ apache_service }}"
state: restarted # state: restarted
- name: Does {{ moodle_base }}/config.php exist? - name: Does {{ moodle_base }}/config.php exist?
stat: stat: