Skip to content

Commit

Permalink
ansistrano: Configure a default for varnish servers
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhattan committed Dec 3, 2024
1 parent 0e0700d commit be36b71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/tasks/ansistrano_after_symlink_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
command: 'curl -X BAN "http://{{ item }}/.*" -H "Host: {{ domain_env }}" --fail -s -o /dev/null'
log:
enabled: false
with_items: "{{ varnish_servers }}"
with_items: "{{ varnish_servers | default(['127.0.0.1']) }}"
when: appenv == 'pro'
run_once: true

0 comments on commit be36b71

Please sign in to comment.