I wanted to have a simple bash script to install Ansible on Ubuntu 20.04, so here it is. The only thing it does is following the official install instructions provided by Ansible.
⚠️ This script is only tested on Ubuntu 20.04! It might work on other debian based distros, try at own risk.
- Updates software repositories
- Installs
software-properties-common - Adds
ppa:ansible/ansible - Installs Ansible with dependecies
- Copies
.ansible.cfgfrom this repo into/root/to enable colorful output if Ansible is run assudo ansible-pull -U ...
- Clone or download this repository to your local machine
- Make the script executeable
chmod +x ansible-install.sh
- Run script as root
sudo ./ansible-install.sh
Any contributions you make are greatly appreciated. If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue if you like.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.