Skip to content
Snippets Groups Projects
Commit 677aa0ef authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "replace baremetal_nic with api_interface"

parents cff3755c 7f108480
No related branches found
No related tags found
No related merge requests found
---
baremetal_nic: "{{ api_interface | default('em1') }}"
docker_apt_url: "https://apt.dockerproject.org"
docker_apt_key_id: F76221572C52609D
......
......@@ -5,7 +5,7 @@
delegate_to: "{{ control_node }}"
- name: get real node ip
shell: ip -4 addr show "{{ hostvars[control_node]['baremetal_nic'] }}" | grep -oP "(?<=inet )[\d\.]+(?=/)"
shell: ip -4 addr show "{{ hostvars[control_node]['api_interface'] }}" | grep -oP "(?<=inet )[\d\.]+(?=/)"
register: real_node_ip
delegate_to: "{{ control_node }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment