1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update main.yml

This commit is contained in:
A Holt 2018-04-30 18:22:31 -04:00 committed by GitHub
parent a98ad8f4c6
commit 34bb55d172
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@
mode: 0770 mode: 0770
state: directory state: directory
- name: Remove stock Moodle conf - name: Remove stock Moodle config file
file: file:
path: "/etc/{{ apache_config_dir }}/moodle.conf" path: "/etc/{{ apache_config_dir }}/moodle.conf"
state: absent state: absent
@ -114,7 +114,7 @@
- name: Create database - name: Create database
postgresql_db: postgresql_db:
name: moodle name: {{ moodle_database_name }}
encoding: utf8 encoding: utf8
owner: Admin owner: Admin
template: template1 template: template1
@ -140,7 +140,7 @@
name: "{{ apache_service }}" name: "{{ apache_service }}"
state: restarted state: restarted
- name: See if the config.php file exists - name: See if config.php exists
stat: stat:
path: "{{ moodle_base }}/config.php" path: "{{ moodle_base }}/config.php"
register: config register: config