ansible-role-nginx/tasks/controller/install-controller.yml

16 lines
472 B
YAML
Raw Normal View History

2018-09-11 01:05:25 +02:00
---
- import_tasks: setup-controller-instance.yml
when:
- nginx_controller_source == "instance"
- nginx_controller_user_email is defined
- nginx_controller_user_email | length > 0
- nginx_controller_password is defined
- nginx_controller_password | length > 0
- import_tasks: setup-controller-repository.yml
when:
- nginx_controller_source == "repository"
- nginx_controller_api_key is defined
- nginx_controller_api_key | length > 0