Setup - richiedennis/Tech-Journal-SYS265- GitHub Wiki

Downloading ansible on Ubuntu:

  1. 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]
  1. You should be able to ensure it by issuing the following command:
  • ansible --version

Preparing Windows for Automation:

  1. Start by pulling a file from github:
  1. Verify that everything is working:
  • Unblock-File .\ansible.ps1
  • .\ansible.ps1 -Verbose

Playbooks used: https://galaxy.ansible.com/diodonfrost/java