static_websites: Define static_websites as empty list by default

This commit is contained in:
saibotk 2020-08-15 00:27:35 +02:00
parent d0fed7b07c
commit cb6f8b1865
No known key found for this signature in database
GPG key ID: A3299C587D5DF523
2 changed files with 3 additions and 3 deletions

View file

@ -39,4 +39,4 @@ static_websites_default_traefik_certresolver: letsencrypt_http
# tmpfs: - List tmpfs definitions like the example below that should be added to the container (optional)
# "/tmp/nginx-cache": 1M
# See the README for an example
# static_websites: []
static_websites: []

View file

@ -36,7 +36,7 @@
group: 'root'
validate: python2 -m compose -f %s config -q
when:
- static_websites is defined
- static_websites | length > 0
tags:
- docker
- deploy_sites
@ -50,6 +50,6 @@
remove_orphans: yes
become: true
when:
- static_websites is defined
- static_websites | length > 0
tags:
- deploy_sites