Skip to content

Instantly share code, notes, and snippets.

@chaunceyt
Created August 11, 2016 05:12
Show Gist options
  • Select an option

  • Save chaunceyt/cdc977ae9a2f285c3d796673e4708789 to your computer and use it in GitHub Desktop.

Select an option

Save chaunceyt/cdc977ae9a2f285c3d796673e4708789 to your computer and use it in GitHub Desktop.
#!/bin/bash
yum update -y
yum -y install git.x86_64
cd /opt
git clone -v https://github.com/ansible/ansible.git --recursive
source /opt/ansible/hacking/env-setup
echo "localhost" > ~/ansible_hosts
export ANSIBLE_HOSTS=~/ansible_hosts
/opt/ansible/bin/ansible-pull -C elkstack -U https://github.com/chaunceyt/ansible-playbooks.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment