Ubuntu Ansible Machine - Bobleoble/tech-journal GitHub Wiki
Ubuntu Ansible Machine Configuration
This Ubuntu machine has ansible installed on it, which allows the user to control other machines on the network easily. For example, the user can install a program on half of the machines remotely, or choose to add users to the Domain with one command.
Network Configuration
mgmt02 configuration
- Hostname: mgmt02-unlucky
- IP Address: 10.0.5.11
- Primary DNS Address: 10.0.5.5
- Alternate DNS Address: 10.0.5.6
- Domain: unlucky.local
Installation of Ansible
- Retrieve the Ansible repository with
audo apt-add-repository ppa:ansible/ansible - Update list of packages with
sudo apt-get update - Install Ansible with
sudo apt-get install sshpass ansible - Install python and pip with
sudo apt-get install python-pip python-setuptools - Install winrm which allows for Windows to communicate with Ansible with
sudo pip install wheel pywinrm pywinrm[kerberos]