Skip to content

Commit

Permalink
Fill up connection_address when DHCP is used
Browse files Browse the repository at this point in the history
  • Loading branch information
William Blonay authored and AllRWeak committed Nov 28, 2023
1 parent dbd140a commit 8e90023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nova/core/roles/connection/tasks/vsphere.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@

- name: Setting {{ detect_dhcp.instance.guest.ipAddress }} IP for connection from DHCP...
ansible.builtin.set_fact:
ansible_host: "{{ detect_dhcp.instance.guest.ipAddress }}"
connection_address: "{{ detect_dhcp.instance.guest.ipAddress }}"

- name: Setting address for connection...
when: not connection_mode_dhcp
block:
- name: Setting {{ connection_ip }} IP for connection from local inventory... # Calculated connection address when using local inventory
ansible.builtin.set_fact:
Expand Down

0 comments on commit 8e90023

Please sign in to comment.