Fix windows connection options (#77844) (#77894)

* winrm, psrps added missing var entry

 this handles issue with the default being set to inventory_hostname
 but defaults not being templated implicitly

 fixes #77841

(cherry picked from commit eecbaee7f4)
pull/78006/head
Brian Coca 2 years ago committed by GitHub
parent 02104472e2
commit f80f58903b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
bugfixes:
- winrm connection now handles default to inventory_hostname correctly.
- psrp connection now handles default to inventory_hostname correctly.

@ -25,6 +25,7 @@ options:
default: inventory_hostname
type: str
vars:
- name: inventory_hostname
- name: ansible_host
- name: ansible_psrp_host
remote_user:

@ -25,6 +25,7 @@ DOCUMENTATION = """
- Address of the windows machine
default: inventory_hostname
vars:
- name: inventory_hostname
- name: ansible_host
- name: ansible_winrm_host
type: str

Loading…
Cancel
Save