Changes between Version 9 and Version 10 of GENIExperimenter/Tutorials/GENIExperimentEngine/Execute


Ignore:
Timestamp:
03/11/15 16:33:46 (9 years ago)
Author:
acb@cs.princeton.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/GENIExperimentEngine/Execute

    v9 v10  
    114114
    115115
    116 At this point, you can flesh out base Ansible playbook to complete the lab.  No need to hurry.  Run the command, look at the output; use Ansible’s debug module to print the value of the variable you’re stuffing it into.  Getting the information may involve a sequence of text-processing steps (get the right line, strip off trailing stuff, strip off leading stuff, etc).  So, do each step, one at a time, and print out the value after each step.  This will help you find errors quickly and get to something working very quickly.
     116At this point, you should have enough information to flesh out the base Ansible playbook.  No need to hurry.  Do each step, one at a time, and use the '''debug''' module to print out variable values after each step.  This will help you get something working very quickly.
    117117
    118118== 3. Run the playbook ==
    119119
    120 Once you have finished your playbook, run it against all the nodes!  As a data point, our Ansible playbook contained six commands (not including debug commands) and used the '''apt''', '''shell''', and '''get_url''' modules.
     120Once you have finished your playbook, run it against all the nodes! 
     121
     122As a data point, our Ansible playbook contained six commands (not including debug commands) and used the '''apt''', '''shell''', and '''get_url''' modules.
    121123
    122124= [wiki:GENIExperimenter/Tutorials/GENIExperimentEngine/Finish Next: Teardown Experiment] =