mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 07:18:09 +02:00
Moved blocks to include_tasks to raise performance. Deploy was really slow
This commit is contained in:
@@ -3,8 +3,21 @@
|
||||
include_role:
|
||||
name: cmp-db-docker-proxy
|
||||
|
||||
- name: Check if config.php exists
|
||||
command: docker exec --user root {{ moodle_container }} test -f {{ moodle_config }}
|
||||
register: config_file_exists
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: Check if config.php exists
|
||||
command: docker exec --user root {{ moodle_container }} test -f {{ moodle_config }}
|
||||
register: config_file_exists
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
|
||||
- name: "Update database credentials"
|
||||
include_tasks: 01_patch_config.yml
|
||||
when: config_file_exists.rc == 0
|
||||
|
||||
- name: flush docker service
|
||||
meta: flush_handlers
|
||||
|
Reference in New Issue
Block a user