ansible/apps/webservice/tasks/after-updatecode.yml
Michael RICOIS 3d22e21288 WebService
2016-02-11 11:29:25 +01:00

16 lines
668 B
YAML

- name: Configure Project
become: yes
copy: src="./config/application.{{ project_config }}.ini" dest="{{ ansistrano_release_path.stdout }}/application/configs/application.ini"
- name: Generate Evenements Cache
become: yes
command: "/usr/bin/php {{ ansistrano_release_path.stdout }}/scripts/build/genCache.php --generate Evenements"
- name: Copy needed files
become: yes
copy: src="{{ ansistrano_deploy_from }}/scripts/build/files" dest="{{ ansistrano_shared_path.stdout }}/" force=yes
- name: Set www-data owner of "ansistrano_deploy_to"
become: yes
file: path="{{ ansistrano_deploy_to }}" state=directory recurse=yes owner=www-data group=www-data