This article explains how to install the agentless Windows module for use with SaltStack Enterprise.
To download the Agentless Windows module:
win2012dev: # Minion ID host: <IP address> user: <local Windows admin username> passwd: <password for the admin user> winrm: True |
NOTE: Domain credentials are not supported.
To install pip 2 on CentOS:
$ yum install epel-release -y $ yum install python-pip $ pip install -U setuptools |
To install pip 2 on Ubuntu:
apt-get install python-pip |
1. Use pip to install the .whl file.
$ pip install -U ./saltwinshell-2017.7-cp27-cp27mu-linux_x86_64.whl |
2. Edit /etc/salt/roster with your minion information.
testwin: # Minion ID host: <IP address> user: <local Windows admin username> passwd: <password for the admin user> winrm: True |
You can now run any Salt SSH command on the Windows server, such as the
following:
$ salt-ssh testwin disk.usage |