<div dir="ltr">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.<div><br></div><div>I think they're mostly solid. But, if there are a few volunteers that would like to look at them, I can send instructions.</div>
<div><br></div><div>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 :)</div>
<div><br></div><div>Of course, I'll happily share after (not that it's very difficult to find at all ;)<br></div><div><br></div><div><br></div><div><h2 style="margin:1em 0px 15px;line-height:1.7;font-size:2em;padding:0px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol'">
Examples</h2><p style="margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:15px;line-height:25.5px">Here is a list of the examples just in case there's any confusion in which order the examples should be executed:</p>
<ol class="" style="padding:0px 0px 0px 30px;margin:15px 0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';font-size:15px;line-height:25.5px">
<li>Configure (see instructions above)</li><li>cd src/example1; python access_machine.py</li><li>cd src/example2; python auto_update_machine.py</li><li>cd src/example3; Read the README file (it's not really meant to be executed)</li>
<li>cd src/example4; ansible -m 'ping' webservers</li><li>cd src/example5; ansible webservers -a 'sudo yum update -y'</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_01.yml</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_02.yml</li>
<li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_03.yml</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_04.yml</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_05.yml</li>
<li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_06.yml</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_07.yml</li><li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_08.yml</li>
<li>cd src/playbook_examples; ansible-playbook demo_playbook_iter_09.yml</li><li>cd src/playbook_examples; Read (but dont' execute): pedantically_commented_playbook.yml</li><li>cd src/role_examples; ansible-playbook demo_play_role_01.yml</li>
<li>cd src/role_examples; ansible-playbook demo_play_role_02.yml</li><li>cd src/role_examples; ansible-playbook demo_play_role_03.yml</li><li>Exploration: Log into machine; sudo su - webuser; cd /home/webuser/sample_project; python manage.py runserver</li>
</ol><h2 style="margin:1em 0px 15px;line-height:1.7;font-size:2em;padding:0px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe UI Emoji','Segoe UI Symbol'">
<a name="user-content-bio" class="" href="https://github.com/glenjarvis/ansible_tutorial#bio" style="color:rgb(65,131,196);text-decoration:none;display:block;padding-right:6px;padding-left:30px;background:transparent"></a></h2>
</div><div><br></div><div><br clear="all"><div><br></div><div><br></div><div><br></div>-- <br><div dir="ltr">







<p>"You grab mindshare by being there."</p><p>-- Alex Martelli <br></p><p>   Bay Area Python Interest Group Talk</p><p>   24-Oct, 2013-- Frank Tibolt<br></p></div>
</div></div>