ansible configuration management
Installation
View installation instructions
First Steps
# ansible --version
ansible 1.6.6
Add some host to
/etc/ansible/hosts
ansible all -m ping
ansible all -a "/bin/date"
ansible gal -m shell -a 'hostname && cat /etc/network/interfaces | grep
bond'
ansible all -m shell -a "rndc retransfer nizza.domain.net"
ansible all -m copy -a "src=/etc/bind.slave/named.conf.local dest=/etc/bind/named.conf.local"
ansible sat -m copy -a "src=/tmp/leap-seconds.list dest=/etc/leap-seconds.list owner=root group=root mode=0644"