This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
which ansible >/dev/null 2>&1 | |
if [ $? -ne 0 ]; | |
then | |
echo "Installing Ansible..." | |
sleep 5 | |
pushd . | |
cd ~ | |
pacman -S libyaml-devel python2 tar libffi libffi-devel gcc pkg-config make openssl-devel openssh libcrypt-devel --noconfirm --needed | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py |