Last active
June 17, 2020 19:38
-
-
Save HauptJ/2d0dee4ac9ac5d5f1e2c14c5c163b8dd to your computer and use it in GitHub Desktop.
Vagrant Ansible self provisioning shell script for EL 8
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
#!/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