psexec - update example for for delegation example (#59475) (#59481)

(cherry picked from commit 3581e63ca8)
pull/59655/head
Jordan Borean 5 years ago committed by Alicia Cozine
parent 8d66a9979a
commit cf817e4436

@ -276,7 +276,7 @@ EXAMPLES = r'''
- name: Download and run ConfigureRemotingForAnsible.ps1 to setup WinRM
psexec:
hostname: '{{ ansible_host }}'
hostname: '{{ hostvars[inventory_hostname]["ansible_host"] | default(inventory_hostname) }}'
connection_username: '{{ ansible_user }}'
connection_password: '{{ ansible_password }}'
encrypt: yes

Loading…
Cancel
Save