mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
Optimized moodle variables
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
- name: Copy config.php from container to host
|
||||
command: >
|
||||
docker cp {{ moodle_container }}:{{ moodle_config }} /opt/docker/moodle/_backup/config.php.bak
|
||||
docker cp {{ moodle_container }}:{{ moodle_config }} {{ moodle_backup_file }}
|
||||
|
||||
- name: Check if config.php exists
|
||||
command: docker exec --user root {{ moodle_container }} test -f {{ moodle_config }}
|
||||
|
Reference in New Issue
Block a user