|
@@ -154,12 +154,6 @@
|
|
tasks:
|
|
tasks:
|
|
- name: Docker base up
|
|
- name: Docker base up
|
|
command: "docker-compose up -d --force-recreate base"
|
|
command: "docker-compose up -d --force-recreate base"
|
|
- - name: "Wait for autoload_classmap.php. Timeout: 10 minutes"
|
|
|
|
- wait_for:
|
|
|
|
- path: "{{ playbook_dir }}/base/vendor/composer/autoload_classmap.php"
|
|
|
|
- state: present
|
|
|
|
- sleep: 30
|
|
|
|
- timeout: 600
|
|
|
|
|
|
|
|
- name: Configure module base. Tag=configure_base
|
|
- name: Configure module base. Tag=configure_base
|
|
hosts: base
|
|
hosts: base
|
|
@@ -168,6 +162,12 @@
|
|
vars:
|
|
vars:
|
|
uris: ""
|
|
uris: ""
|
|
tasks:
|
|
tasks:
|
|
|
|
+ - name: "Wait for autoload_classmap.php. Timeout: 10 minutes"
|
|
|
|
+ wait_for:
|
|
|
|
+ path: "/opt/base/vendor/composer/autoload_classmap.php"
|
|
|
|
+ state: present
|
|
|
|
+ sleep: 30
|
|
|
|
+ timeout: 600
|
|
- name: Chmod cache
|
|
- name: Chmod cache
|
|
file:
|
|
file:
|
|
path: /opt/base/var/cache/
|
|
path: /opt/base/var/cache/
|