Fix windows connection options (#77844)

* 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
pull/77896/head
Brian Coca 2 years ago committed by GitHub
parent 2595b42aca
commit eecbaee7f4
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