Skip to content

Commit fa5e9be

Browse files
committed
F OpenNebula/engineering#504: add filter to make conn_matrix robust for existing workloads
Signed-off-by: Balazs Nemeth <bnemeth@opennebula.io>
1 parent 0812e0a commit fa5e9be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/conn-matrix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
ansible.builtin.command: ssh-keygen -t rsa -b 4096 -N "" -f $HOME/.ssh/conn-matrix -q
99
args:
1010
creates: "{{ ansible_env.HOME }}/.ssh/conn-matrix"
11-
11+
1212
- name: Read public key
1313
ansible.builtin.slurp:
1414
src: "{{ ansible_env.HOME }}/.ssh/conn-matrix.pub"
@@ -59,7 +59,7 @@
5959
loop: "{{ host_ids_and_names.stdout_lines }}"
6060

6161
- name: Get VM host to VM IP mapping
62-
shell: onevm list -l HOST,IP --csv --no-header
62+
shell: onevm list -f NAME~conn-mtx-vm-on-host -l HOST,IP --csv --no-header
6363
register: vm_host_ip_lines
6464
changed_when: false
6565

0 commit comments

Comments
 (0)