[Baypiggies] Volunteers to review code samples before tomorrow?

Glen Jarvis glen at glenjarvis.com
Thu Jun 26 04:45:42 CEST 2014


I have 20 examples of code that progressively show the features of Ansible.
One could theoretically get a good tour simply by running / reviewing these
code samples.

I think they're mostly solid. But, if there are a few volunteers that would
like to look at them, I can send instructions.

I'd rather not share this completely publicly until it's been more vetted
(as this is the subject for the talk tomorrow night at our next meeting).
There has to be *some* reason to show up, after all :)

Of course, I'll happily share after (not that it's very difficult to find
at all ;)


Examples

Here is a list of the examples just in case there's any confusion in which
order the examples should be executed:

   1. Configure (see instructions above)
   2. cd src/example1; python access_machine.py
   3. cd src/example2; python auto_update_machine.py
   4. cd src/example3; Read the README file (it's not really meant to be
   executed)
   5. cd src/example4; ansible -m 'ping' webservers
   6. cd src/example5; ansible webservers -a 'sudo yum update -y'
   7. cd src/playbook_examples; ansible-playbook demo_playbook_iter_01.yml
   8. cd src/playbook_examples; ansible-playbook demo_playbook_iter_02.yml
   9. cd src/playbook_examples; ansible-playbook demo_playbook_iter_03.yml
   10. cd src/playbook_examples; ansible-playbook demo_playbook_iter_04.yml
   11. cd src/playbook_examples; ansible-playbook demo_playbook_iter_05.yml
   12. cd src/playbook_examples; ansible-playbook demo_playbook_iter_06.yml
   13. cd src/playbook_examples; ansible-playbook demo_playbook_iter_07.yml
   14. cd src/playbook_examples; ansible-playbook demo_playbook_iter_08.yml
   15. cd src/playbook_examples; ansible-playbook demo_playbook_iter_09.yml
   16. cd src/playbook_examples; Read (but dont' execute):
   pedantically_commented_playbook.yml
   17. cd src/role_examples; ansible-playbook demo_play_role_01.yml
   18. cd src/role_examples; ansible-playbook demo_play_role_02.yml
   19. cd src/role_examples; ansible-playbook demo_play_role_03.yml
   20. Exploration: Log into machine; sudo su - webuser; cd
   /home/webuser/sample_project; python manage.py runserver

<https://github.com/glenjarvis/ansible_tutorial#bio>





-- 

"You grab mindshare by being there."

-- Alex Martelli

   Bay Area Python Interest Group Talk

   24-Oct, 2013-- Frank Tibolt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/baypiggies/attachments/20140625/a14dc91c/attachment.html>


More information about the Baypiggies mailing list