Cara termudah menginstall ansible adalah mengcopy file dibawah ini ke sebuah file lalu eksekusi file
1. save this scripts to a file, sample name : google.ansible.sh
#----------- start code ------------
#!/bin/bash
sudo apt-get -y install python-pip python-dev
sudo pip install -U boto
sudo pip install -U https://github.com/ansible/ansible/archive/devel.zip
ansible --version
#----------- end code ------------
2. chmod +x to that file
~#sudo chmod +x google.ansible.sh
3. execute this file
~#sudo sh google.ansible.sh
Untuk pengguna centos 7 bisa menggunakan scripts dibawah ini
1. simpan code dibawah ini sebagai script bash : google.ansible.sh
#----------- start code ------------
#!/bin/bash
sudo yum -y install epel-release
sudo yum install -y gcc python-pip python-devel
sudo pip install -U boto
sudo pip install -U https://github.com/ansible/ansible/archive/devel.zip
ansible --version
#----------- end code ------------
2. ganti permisi file biar dapat di eksekusi
~#chmod +x ./google.ansible.sh
3. eksekusi file installasi
~#sh ./googe.ansible.sh