Skip to content

Commit

Permalink
Fix a bug in deploying worker nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Sep 20, 2022
1 parent 4140fc3 commit c0ad4b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/bootstrap/node/ansible/tasks/load_node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
add_host:
ansible_host: "{{ node[0] }}.control.box.netai-cloud"
ansible_host_key_checking: false
ansible_hostname: "{{ node[0] }}.control.box.netai-cloud"
ansible_python_interpreter: /usr/bin/python3
ansible_ssh_host: "{{ node[1] }}"
ansible_ssh_port: "{{ node[2] }}"
Expand Down
1 change: 1 addition & 0 deletions templates/kiss/tasks/common/playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
ansible_host_id: "{{ lookup('env', 'ansible_host_id') }}"
ansible_host_uuid: "{{ lookup('env', 'ansible_host_uuid') }}"
ansible_host_key_checking: false
ansible_hostname: "{{ lookup('env', 'ansible_host') }}"
ansible_ssh_host: "{{ lookup('env', 'ansible_ssh_host') }}"
ansible_ssh_private_key_file: "{{ lookup('env', 'ansible_ssh_private_key_file') }}"
ansible_ssh_user: "{{ lookup('env', 'ansible_user') }}"
Expand Down

0 comments on commit c0ad4b7

Please sign in to comment.