workshops:ansible
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
workshops:ansible [2013/05/30 16:36] – admin | workshops:ansible [2017/10/12 21:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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 | ||
+ | |||
+ | {{: | ||
+ | |||
+ | My Ansible full setup: [[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 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 / | ||
+ | |||
+ | 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:// |