Skip to content

Instantly share code, notes, and snippets.

@HauptJ
Last active June 17, 2020 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HauptJ/2d0dee4ac9ac5d5f1e2c14c5c163b8dd to your computer and use it in GitHub Desktop.
Save HauptJ/2d0dee4ac9ac5d5f1e2c14c5c163b8dd to your computer and use it in GitHub Desktop.
Vagrant Ansible self provisioning shell script for EL 8
#!/bin/bash -eux
pushd /tmp
sudo dnf -y install python3 git ansible
#sudo python3 -m pip install pyyaml ansible
pushd /tmp/ansible
sudo ansible-playbook -i hosts vagrant.yml
popd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment