Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ These are the possible role variables - you only need to have a small set define
symfony_project_config_dir: 'app/config' # symfony configuration dir
symfony_project_parameters_file: parameters.yml # optional fixed parameters file in shared
symfony_project_cache_command: cache:warmup
symfony_project_cache_dir: app # sf >= 3.0 var

symfony_project_manage_composer: True
symfony_project_composer_opts: '--no-dev --optimize-autoloader --no-interaction'
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ symfony_project_console_command: "app/console"
symfony_project_config_dir: "app/config"
symfony_project_parameters_file: parameters.yml
symfony_project_cache_command: cache:warmup
symfony_project_cache_dir: app

symfony_project_manage_composer: True
symfony_project_composer_opts: "--no-dev --optimize-autoloader --no-interaction"
Expand Down
4 changes: 2 additions & 2 deletions tasks/30-cache.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Remove cache dir manually.
file: state=absent path={{symfony_current_release_dir}}/app/cache/{{symfony_project_env}}
file: state=absent path={{symfony_current_release_dir}}/{{symfony_project_cache_dir}}/cache/{{symfony_project_env}}
when: symfony_project_enable_cache_warmup == True
tags:
- cache
Expand All @@ -9,4 +9,4 @@
shell: cd {{symfony_current_release_dir}} && export SYMFONY_ENV={{symfony_project_env}}; {{symfony_project_php_path}} {{symfony_project_php_options}} {{symfony_console}} {{symfony_project_cache_command}} {{symfony_project_console_opts}}
when: symfony_project_enable_cache_warmup == True
tags:
- cache
- cache