Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| #!/bin/bash | |
| # Install daemon tools | |
| if [ "$UID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit | |
| fi | |
| if [ ! -e /usr/bin/gcc ] || [ ! -e /usr/bin/make ]; then | |
| echo gcc or make not installed going to install dev tools in 5 seconds press ^C to exit | |
| sleep 6 | |
| yum -y groupinstall 'Development Tools' |