- 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