With larger and more complex environments, domain authentication tends to be the more robust authentication mechanism. Also, domain-based permissions can use Kerberos authentication supported with Microsoft Active Directory Services. Many may choose to use local authentication between the Ansible server and the target Windows Servers they're managing. We can verify this successfully installed Ansible by querying the Ansible version using the following: ansible -versionĬhecking the Ansible version after installation Configuring Ansible authenticationĪn extremely important part of Ansible configuration is configuring its authentication to communicate properly with the target Windows Servers. Now we can use pip to install both the pywinrm package as well as Ansible itself using the two following commands: sudo pip install pywinrm To install pip, run the following in Ubuntu: sudo apt-get install python-pip What is pip? It's a package management system used to install and manage software packages written in Python. Make sure to update your Ubuntu Linux distribution: sudo apt-get update & sudo apt-get upgradeĪlso, to make Python package installation easier and more robust, let's install pip. The pywinrm package is what allows Ansible to communicate to Windows Servers via WinRM instead of Secure Shell (SSH).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |