WinRM Setup [Ansible Tower Windows Automation]

1 Comment



“WinRM Setup”, part of of the “Ansible Tower ® Difference with Windows Automation” solution demo series, presented by Level Up.

See also our related blog post for code samples and other links: https://levelupla.io/the-ansible-tower-difference-with-windows-automation/

It’s easy to start automating your Windows systems with Ansible Tower!

Ansible Tower uses your existing domain or local credentials for authentication.

Ansible Tower uses WinRM for transport.

1) Download: ConfigureRemotingForAnsible.ps1: https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1

2) Run: powershell.exe -ExecutionPolicy ByPass -File ConfigureRemotingForAnsible.ps1

3) Include these Windows host variables in your job templates or playbooks:

ansible_port: 5986
ansible_connection: winrm

For more info, check out: https://levelupla.io/red-hat/

SUBSCRIBE to get more info on all things infrastructure automation!
https://www.youtube.com/channel/UCyugQc9Z-lgB0yeBTNfF8gw?sub_confirmation=1

Follow us on Twitter!


source

1 Comment
    • blank
      Vik
      May 10, 2022 13:45 pm Reply

      Can you elaborate on the credentials setup?

Leave us a comment