Skip to content

Commit

Permalink
qa-dev: Put tunnelip in connectivity results file
Browse files Browse the repository at this point in the history
This makes the info readily available in the "Mesh Connectivity
Results" section of the job, which is a lot easier than digging back
into the previous step's log.

Signed-off-by: Russell Bryant <[email protected]>
  • Loading branch information
russellb committed Oct 1, 2023
1 parent 8e430f0 commit 2d596c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ops/ansible/aws/validate-connectivity/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
become: yes
shell: |
printf "====== Connectivity Results from Node: {{ inventory_hostname }} ======\n" > {{ inventory_hostname }}-connectivity-results.txt
printf "IPv4 tunnel IP: "
nexctl nexd get tunnelip
printf "IPv4 tunnel IP: " >> {{ inventory_hostname }}-connectivity-results.txt
nexctl nexd get tunnelip >> {{ inventory_hostname }}-connectivity-results.txt
nexctl nexd peers ping
nexctl nexd peers ping >> {{ inventory_hostname }}-connectivity-results.txt 2>&1
nexctl nexd peers ping6 >> {{ inventory_hostname }}-connectivity-results.txt 2>&1
Expand Down

0 comments on commit 2d596c8

Please sign in to comment.