Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Created September 7, 2020 01:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jesseloudon/2b8e47119c45a54559c9bf53f1de352c to your computer and use it in GitHub Desktop.
Save jesseloudon/2b8e47119c45a54559c9bf53f1de352c to your computer and use it in GitHub Desktop.
Ubuntu Ansible Setup Script
#!/bin/bash
# Update all packages that have available updates.
sudo apt-get update
sudo apt upgrade -y
# Install ansible developer requirements
pip3 install wheel --quiet
pip3 install pywinrm --quiet
pip3 install requests --quiet
pip3 install ansible --quiet
pip3 install ansible-lint --quiet
pip3 install ansible[azure] --quiet
pip3 install molecule --quiet
pip3 install molecule-azure --quiet
pip3 install junit_xml --quiet
# Install AzCLI
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment