16 lines
472 B
YAML
16 lines
472 B
YAML
---
|
|
- 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
|