Changes between Version 9 and Version 10 of GENIExperimenter/Tutorials/GENIExperimentEngine/Execute
- Timestamp:
- 03/11/15 16:33:46 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENIExperimentEngine/Execute
v9 v10 114 114 115 115 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 tosomething working very quickly.116 At 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. 117 117 118 118 == 3. Run the playbook == 119 119 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. 120 Once you have finished your playbook, run it against all the nodes! 121 122 As a data point, our Ansible playbook contained six commands (not including debug commands) and used the '''apt''', '''shell''', and '''get_url''' modules. 121 123 122 124 = [wiki:GENIExperimenter/Tutorials/GENIExperimentEngine/Finish Next: Teardown Experiment] =