File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Role Variables
1313
1414Required:
1515- y2s_accounts_configuration: List of accounts and their configuration. See ynab2splitwise documentation for details.
16+ - y2s_config_dir: Where to save the configuration file
1617
1718With defaults:
1819- y2s_image_repository: Docker image repository for the ynab2splitwise image, "
Original file line number Diff line number Diff line change 11---
22- name : Create configuration folder
33 file :
4- path : " {{ config_dir }}"
4+ path : " {{ y2s_config_dir }}"
55 state : directory
66 mode : 0755
77
88- name : Create configuration file
99 template :
1010 src : config.yml.j2
11- dest : " {{ config_dir }}/config.yml"
11+ dest : " {{ y2s_config_dir }}/config.yml"
1212 mode : 0644
1313
1414- name : Configure Cronjob
1919 day : " {{ y2s_cron_day }}"
2020 month : " {{ y2s_cron_month }}"
2121 weekday : " {{ y2s_cron_weekday }}"
22- job : " docker run --rm -v {{ config_dir }}/config.yml:/app/config.yml {{ y2s_image_repository }}:{{ y2s_image_tag }}"
22+ job : " docker run --rm -v {{ y2s_config_dir }}/config.yml:/app/config.yml {{ y2s_image_repository }}:{{ y2s_image_tag }}"
You can’t perform that action at this time.
0 commit comments