Setup - richiedennis/Tech-Journal-SYS265- GitHub Wiki
Downloading ansible on Ubuntu:
- Ansible can be installed on Ubuntu 18.04 with the following series of commands:
- sudo apt-add-repository ppa:ansible/ansible
- sudo apt-get update
- sudo apt-get install sshpass ansible -y
- sudo apt-get install python-pip python-setuptools -y
- sudo pip install wheel pywinrm pywinrm[kerberos]
- You should be able to ensure it by issuing the following command:
- ansible --version
Preparing Windows for Automation:
- Start by pulling a file from github:
- wget https://raw.githubcontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 --outfile ansbile.ps1
- Verify that everything is working:
- Unblock-File .\ansible.ps1
- .\ansible.ps1 -Verbose
Playbooks used: https://galaxy.ansible.com/diodonfrost/java