static_websites: Define static_websites as empty list by default
This commit is contained in:
parent
d0fed7b07c
commit
cb6f8b1865
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
# tmpfs: - List tmpfs definitions like the example below that should be added to the container (optional)
|
||||||
# "/tmp/nginx-cache": 1M
|
# "/tmp/nginx-cache": 1M
|
||||||
# See the README for an example
|
# See the README for an example
|
||||||
# static_websites: []
|
static_websites: []
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
group: 'root'
|
group: 'root'
|
||||||
validate: python2 -m compose -f %s config -q
|
validate: python2 -m compose -f %s config -q
|
||||||
when:
|
when:
|
||||||
- static_websites is defined
|
- static_websites | length > 0
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
- deploy_sites
|
- deploy_sites
|
||||||
|
@ -50,6 +50,6 @@
|
||||||
remove_orphans: yes
|
remove_orphans: yes
|
||||||
become: true
|
become: true
|
||||||
when:
|
when:
|
||||||
- static_websites is defined
|
- static_websites | length > 0
|
||||||
tags:
|
tags:
|
||||||
- deploy_sites
|
- deploy_sites
|
||||||
|
|
Loading…
Add table
Reference in a new issue