Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if which ansible;
- then
- echo "Ansible is already installed"
- else
- apt install -y gnupg
- echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
- apt update
- apt install -y ansible
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement