User Tools

Site Tools


workshops:ansible

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workshops:ansible [2013/05/30 16:36]
admin
workshops:ansible [2017/10/12 21:58] (current)
Line 1: Line 1:
 +====== Ansible ======
  
 +**Wednesday 29th May, 2013** @ 7pm (pre-meeting downstairs at 6pm)\\
 +**Address** Muttis upstairs (118 Elgin st, Carlton VIC)
 +
 +Introduction to Ansible by Michael Pope
 +
 +{{:workshops:mlug-ansible.odp|ansible slides}}
 +
 +My Ansible full setup: [[https://github.com/map7/ansible_recipes]]
 +
 +{{:workshops:ansible.tar.gz|Demo code from the presentation}}
 +
 +To view the demo download the tar, untar the file, install git and step through the examples like so;
 +
 +Install ansible (as per the slides) & edit your /etc/ansible/hosts file adding in your test server to the list.
 +
 +Check out each step (1 to 9)
 +
 +    git checkout step1
 +    
 +Look at the code using your favorite editor
 +
 +    emacs webserver.yml
 +    
 +Run the code
 +
 +    ansible-playbook webserver.yml
 +
 +Find out what ansible variables I can use
 +
 +    ansible -m setup <target machine IP>
 +    
 +Here is an Ansible module I created to run commands in a chroot.
 +[[https://github.com/map7/ansible/blob/devel/library/system/chroot]]
workshops/ansible.txt ยท Last modified: 2017/10/12 21:58 (external edit)