Configuration management using Ansible for my systems.
Per host requirements:
- Ensure a WinRM listener is set up and the service is running/enabled at startup.
- Install the
pywinrm
andrequests-ntlm
python packages
💡
ansible --ask-pass -i windows.ini windows -m win_ping
can be used to ping the Windows host to check if installation is successful.
Roles source variables using the OS name.
To run configuration setup for Arch Linux desktop (locally), run:
ansible-playbook --ask-become archlinux_desktop.yml
To run a play against a Windows host run:
ansible-playbook --ask-pass windows_desktop.yml -i windows.ini