Skip to content

Commit

Permalink
Merge branch 'patty' into jasonkin-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonking3 committed Apr 9, 2024
2 parents 3c082d5 + 38a308a commit 3b68abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/nso/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# the inventory
#
- set_fact:
nso_rest_url: "http://{{ hostvars[nso_hostname].ansible_host }}:8080"
nso_rest_url: "http://{{ hostvars[nso_hostname].ansible_host }}:{{ hostvars[nso_hostname].nso_api_port | default(8080) }}"
when: "not nso_rest_url and nso_host_group in groups"
vars:
nso_hostname: "{{ groups[nso_host_group] | first }}"
Expand Down

0 comments on commit 3b68abb

Please sign in to comment.