123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---
- fail: msg="Option 'services.ctucxGallery.user' has to be set!"
when:
- services.ctucxGallery.user is not defined
- fail: msg="Option 'services.ctucxGallery.sourceDir' has to be set!"
when:
- services.ctucxGallery.sourceDir is not defined
- fail: msg="Option 'services.ctucxGallery.targetDir' has to be set!"
when:
- services.ctucxGallery.targetDir is not defined
- fail: msg="Option 'services.ctucxGallery.site.name' has to be set!"
when:
- services.ctucxGallery.site.name is not defined
- fail: msg="Option 'services.ctucxGallery.site.author' has to be set!"
when:
- services.ctucxGallery.site.author is not defined
- fail: msg="Option 'services.ctucxGallery.site.description' has to be set!"
when:
- services.ctucxGallery.site.description is not defined
- fail: msg="Option 'services.ctucxGallery.site.tags' has to be set!"
when:
- services.ctucxGallery.site.tags is not defined
- fail: msg="Nginx role has to be enabled when using nginx options!"
when:
- services.ctucxGallery.nginx.enable is true
- services.nginx.enable is false
- fail: msg="Option 'services.ctucxGallery.nginx.domain' has to be set when using nginx!"
when:
- services.ctucxGallery.nginx.enable is defined
- services.ctucxGallery.nginx.enable is true
- services.ctucxGallery.nginx.domain is not defined
- fail: msg="Option 'services.ctucxGallery.nginx.sslOnly' has to be set when using nginx!"
when:
- services.ctucxGallery.nginx.enable is defined
- services.ctucxGallery.nginx.enable is true
- services.ctucxGallery.nginx.sslOnly is not defined
- fail: msg="Option 'services.ctucxGallery.nginx.ssl.cert' has to be set when using nginx with ssl!"
when:
- services.ctucxGallery.nginx.enable is defined
- services.ctucxGallery.nginx.enable is true
- services.ctucxGallery.nginx.ssl.enable is defined
- services.ctucxGallery.nginx.ssl.enable is true
- services.ctucxGallery.nginx.ssl.cert is not defined
- fail: msg="Option 'services.ctucxGallery.nginx.ssl.privkey' has to be set when using nginx with ssl!"
when:
- services.ctucxGallery.nginx.enable is defined
- services.ctucxGallery.nginx.enable is true
- services.ctucxGallery.nginx.ssl.enable is defined
- services.ctucxGallery.nginx.ssl.enable is true
- services.ctucxGallery.nginx.ssl.privkey is not defined