Skip to content
This repository was archived by the owner on Aug 9, 2022. It is now read-only.

Commit f726829

Browse files
committed
nginx_controller_ var pattern
1 parent bc1ab01 commit f726829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
- name: Run the NGINX Controller agent installer
2424
shell: |
2525
API_KEY='{{ nginx_controller_api_key }}' \
26-
{{ (controller_hostname | length > 0) | ternary('CONTROLLER_HOSTNAME=' + controller_hostname,'') }} \
27-
{{ (controller_hostname | length > 0) | ternary('STORE_UUID=True','') }} \
26+
{{ (nginx_controller_hostname | length > 0) | ternary('CONTROLLER_HOSTNAME=' + nginx_controller_hostname,'') }} \
27+
{{ (nginx_controller_hostname | length > 0) | ternary('STORE_UUID=True','') }} \
2828
sh ./install.sh -y \
2929
{{ (location | length > 0) | ternary('-l ' + location,'') }} \
3030
{{ (instance_name | length > 0) | ternary('-i ' + instance_name,'') }}

0 commit comments

Comments
 (0)