Extranet : fix 'ansistrano_release_path' is undefined

This commit is contained in:
Michael RICOIS 2017-03-07 15:06:41 +01:00
parent 7dab02ba89
commit b5359f2657
2 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,13 @@
---
- name: EXTRANET | Create Symlink
become: yes
file: src={{item.src}} dest={{item.dest}} state=link force=yes
with_items:
- { src: "{{ansistrano_shared_path}}/persist/logos", dest: "{{ansistrano_shared_path}}/pages/file/image/logo/q" }
- { src: "{{ansistrano_shared_path}}/pages/imgcache", dest: "{{ansistrano_shared_path}}pages/file/image/cache/q" }
- { src: "{{ansistrano_shared_path}}/persist/streetview", dest: "{{ansistrano_shared_path}}/pages/file/streetview/img/q" }
- { src: "{{ansistrano_release_path.stdout}}/public/themes", dest: "{{ansistrano_shared_path}}/pages/themes" }
- name: EXTRANET | Configure
become: yes
copy: src="./config/application.{{project_env}}.ini" dest="{{ansistrano_release_path.stdout}}/application/configs/application.ini"

View File

@ -30,13 +30,4 @@
- { src: 'sessions' }
- { src: 'wsdl' }
- name: EXTRANET | Create Symlink
become: yes
file: src={{item.src}} dest={{item.dest}} state=link force=yes
with_items:
- { src: "{{ansistrano_shared_path}}/persist/logos", dest: "{{ansistrano_shared_path}}/pages/file/image/logo/q" }
- { src: "{{ansistrano_shared_path}}/pages/imgcache", dest: "{{ansistrano_shared_path}}pages/file/image/cache/q" }
- { src: "{{ansistrano_shared_path}}/persist/streetview", dest: "{{ansistrano_shared_path}}/pages/file/streetview/img/q" }
- { src: "{{ansistrano_release_path.stdout}}/public/themes", dest: "{{ansistrano_shared_path}}/pages/themes" }