2018-09-11 01:05:25 +02:00
|
|
|
---
|
2019-12-12 03:25:20 +01: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
|