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:
parent
a98ad8f4c6
commit
34bb55d172
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue