Advertisement
Guest User

Untitled

a guest
May 27th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # install ansible for localhost
  4.  
  5. apt-get update && \
  6. apt-get install -y software-properties-common && \
  7. apt-add-repository ppa:ansible/ansible && \
  8. apt-get update && \
  9. apt-get install -y ansible
  10.  
  11. echo "[local]" > /etc/ansible/hosts
  12. echo "localhost" >> /etc/ansible/hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement