Hi All,
i have machien Ansible running in RHEL 7
Target host: Windows server 2019
i was able run powershell script by copying from RHEL to windows ,working
fine
- name: Copy a single file
win_copy:
src: "{{ playbook_dir }}/files/test.ps1"
dest: C:\Temp\test.ps1
- name: Run a script
win_shell: C:\temp\test.ps1
-----------
but without copying can we run powershell scripts directly from Ansible
Engine?
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/55204ccd-e1b2-473f-a076-c9c55219375d%40googlegroups.com.