Browse Source

fix autoload file in playbook

Espinoza Guillermo 6 years ago
parent
commit
9076bc8d79
1 changed files with 6 additions and 6 deletions
  1. 6 6
      tools/playbook.yml

+ 6 - 6
tools/playbook.yml

@@ -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/