Skip to content

Commit

Permalink
Fix inventory_hostname being returned when looking for the remote hos…
Browse files Browse the repository at this point in the history
…tname (#431)
  • Loading branch information
Qalthos authored May 31, 2022
1 parent 8e26155 commit 09e9bf5
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelogs/fragments/remote_addr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
bugfixes:
- libssh - Fix for improperly set hostname in url
- httpapi - Fix for improperly set hostname in connect
1 change: 1 addition & 0 deletions docs/ansible.netcommon.httpapi_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">"inventory_hostname"</div>
</td>
<td>
<div>var: inventory_hostname</div>
<div>var: ansible_host</div>
</td>
<td>
Expand Down
1 change: 1 addition & 0 deletions docs/ansible.netcommon.libssh_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">"inventory_hostname"</div>
</td>
<td>
<div>var: inventory_hostname</div>
<div>var: ansible_host</div>
<div>var: ansible_ssh_host</div>
<div>var: ansible_libssh_host</div>
Expand Down
1 change: 1 addition & 0 deletions docs/ansible.netcommon.napalm_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">"inventory_hostname"</div>
</td>
<td>
<div>var: inventory_hostname</div>
<div>var: ansible_host</div>
</td>
<td>
Expand Down
1 change: 1 addition & 0 deletions docs/ansible.netcommon.netconf_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">"inventory_hostname"</div>
</td>
<td>
<div>var: inventory_hostname</div>
<div>var: ansible_host</div>
</td>
<td>
Expand Down
1 change: 1 addition & 0 deletions docs/ansible.netcommon.network_cli_connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">"inventory_hostname"</div>
</td>
<td>
<div>var: inventory_hostname</div>
<div>var: ansible_host</div>
</td>
<td>
Expand Down
1 change: 1 addition & 0 deletions plugins/connection/httpapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
to.
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
port:
type: int
Expand Down
1 change: 1 addition & 0 deletions plugins/connection/libssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- Address of the remote target
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
- name: ansible_ssh_host
- name: ansible_libssh_host
Expand Down
1 change: 1 addition & 0 deletions plugins/connection/napalm.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
to.
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
port:
type: int
Expand Down
1 change: 1 addition & 0 deletions plugins/connection/netconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
to.
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
port:
type: int
Expand Down
1 change: 1 addition & 0 deletions plugins/connection/network_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
to.
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
port:
type: int
Expand Down

0 comments on commit 09e9bf5

Please sign in to comment.