File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 6868 src : cloudflare-update-ip-ranges.sh
6969 dest : /usr/local/bin/cloudflare-update-ip-ranges.sh
7070 mode : ' 0755'
71- when : cloudflare_proxy
71+ when : cloudflare_proxy | bool
7272 tags : climate-nginx-base
7373
7474# Run Cloudflare IP address retrieval script if proxying through cloudflare
7575- name : Run Cloudflare IP address retrieval script
7676 become : true
7777 ansible.builtin.shell :
7878 cmd : /usr/local/bin/cloudflare-update-ip-ranges.sh
79- when : cloudflare_proxy
79+ when : cloudflare_proxy | bool
8080 tags : climate-nginx-base
8181
8282# If proxying through cloudflare, set crontab to run the cloudflare-update-ip-ranges.sh script once a week
9090 day : " *"
9191 month : " *"
9292 weekday : " 1"
93- when : cloudflare_proxy
93+ when : cloudflare_proxy | bool
9494 tags : climate-nginx-base
9595
9696# Remove blocklist file if nginx_blocklist is empty
You can’t perform that action at this time.
0 commit comments