Skip to content

Commit

Permalink
Merge pull request #206 from jpiron/fix_empty_cache_section
Browse files Browse the repository at this point in the history
fix: empty cache section
  • Loading branch information
riemers authored Sep 18, 2021
2 parents 3c5460b + bd3743b commit ebb3492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/update-config-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@
dest: "{{ temp_runner_config.path }}"
regexp: '^\s*\[runners\.cache\]'
line: ' [runners.cache]'
state: present
state: "{{ 'present' if gitlab_runner.cache_type is defined else 'absent' }}"
insertafter: EOF
backrefs: no
check_mode: no
Expand Down

0 comments on commit ebb3492

Please sign in to comment.