Skip to content

Commit 0e09fe5

Browse files
committed
fix inventory template issue
1 parent eb7c6f3 commit 0e09fe5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
all:
22
hosts:
3+
{% for item in deploy_flask_app_workers_instances %}
34
{{ item.instance_id }}:
45
ansible_host: "{{ item.private_ip_address }}"
56
workers_hosts: "{{ deploy_flask_app_workers_join }}"
67
ansible_ssh_user: "{{ deploy_flask_app_workers_user_name }}"
78
ansible_ssh_common_args: '-o "UserKnownHostsFile=/dev/null" -o StrictHostKeyChecking=no -i {{ deploy_flask_app_workers_ssh_private_key }}'
8-
ansible_python_interpreter: auto
9+
ansible_python_interpreter: auto
10+
{% endfor %}

0 commit comments

Comments
 (0)