Download the script, then:
chmod +x ansible_convenience_script.sh
sudo ./ansible_convenience_script.sh
Arguments:
Options:
-c, Specify a url to an ansible.cfg file to download
-g, Git role to download
-G, Galaxy role to download
-h, -H, Shows this help menu
-l, Location where Ansible files are placed, default is /etc/ansible
-p, Force pip installation
-P, Force package manager installation
-u, Creates, or adds an existing user to the group 'ansible'
Optional variables:
# Set this to the URL of your custom ansible.cfg file
CFG=""
# Space seperated list of git roles
GIT=""
# Space seperated list of ansible-galaxy roles
GALAXY=""
# Space seperated list of users to add to the 'ansible' group
USERS=""
examples are included at the top of the script