Run powershell command or script with AWX ansible tower on windows host.

preview_player
Показать описание
In this video I'm invoking powershell script with Ansible Tower. Invoke powershell command on windows hosts. Copy powershell script from windows share.
Рекомендации по теме
Комментарии
Автор

Hi Alex. Thanks for your video. If you'd like, I'd like to ask a few questions. I am working on an automation. The server on which AWX is installed is a linux server. Can I connect to a windows server via AWX and run a powershell script? and does awx use the tcp5985 port when doing this? So, does the command actually run on the linux server or does it connect from the relevant port and run remotely on my windows server? Is the ansible.windows module sufficient for this process? Or do I need to use the community module?

Kalaycikerem
Автор

Thanks for the video, but its still unclear to me. I would like your help in regards with that: I want to run in a Windows server a Powershell script which is already on c: drive of that remote server. how will i make my yml.playbook for that?

ahmadmujtabaahmadi