Skip to content

dovry/ansible-install-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible convenience script

Build Status

Automated ansible install script for multiple OS-es

Now supports Ubuntu 20.04

Automated tests

Build Status

Docker Pulls

Build Status

Docker Pulls

Build Status

Docker Pulls

Build Status

Docker Pulls

Build Status

Docker Pulls

How to use this script

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

About

Install Ansible with a shell script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages