Changes between Version 22 and Version 23 of GENIExperimenter/Tutorials/GENIExperimentEngine/Execute
- Timestamp:
- 03/16/15 16:29:16 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/GENIExperimentEngine/Execute
v22 v23 97 97 === (b) Get the container name === 98 98 99 Look at the variables collected by Ansible's setup module (step 1(c) above). Find one that holds the container name. Add a debug task to your playbook, like the one in the starter playbook, to print out its value. 99 Look at the variables collected by Ansible's setup module (step 1(c) above). Find one that holds the container name. Add a debug task to your playbook, like the one in the starter playbook, to print out its value. Complete the following task and add it to your playbook. 100 101 {{{ 102 - name: Print container name variable 103 debug: var= 104 }}} 100 105 101 106 === (c) Get the container IP address === 102 107 103 Look at the variables collected by Ansible's setup module (step 1(c) above). Find one that holds the container IP address. Add a debug task to your playbook, like the one in the starter playbook, to print out its value. 108 Look at the variables collected by Ansible's setup module (step 1(c) above). Find one that holds the container IP address. Add a debug task to your playbook, like the one in the starter playbook, to print out its value. Complete the following task and add it to your playbook 109 110 {{{ 111 - name: Print container IP address 112 debug: var= 113 }}} 104 114 105 115 === (d) Get the host's public IP address ===