Changes between Version 26 and Version 27 of GENIExperimenter/Tutorials/AnsibleHelloGENI/Execute


Ignore:
Timestamp:
03/15/15 21:12:33 (9 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

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

    v26 v27  
    144144               </td>
    145145               <td>
    146                     Ansible Ad Hoc commands easily map to commands used in an Ansible Playbook. 
     146                   Ansible commands can be collected into files called <i>Playbooks</i>.  Playbooks are in a configuration file format called <i>YAML</i> which is very straightforward.   In particular, Ansible Ad Hoc commands easily map to commands used in an Ansible Playbook. 
    147147               </td>
    148148        </tr>
     
    150150}}}
    151151
    152 The `hello-client.yml` is:
     152The commands to configure the `client` node as in the install script are as follows:
    153153
    154154   {{{
     
    167167    }}}
    168168
    169 Run the playbook with the following commands on the local machine:
     169Let's put the above in a file `hello-client.yml`.
     170
     171Run the playbook with the following command on the local machine:
    170172
    171173   {{{
    172174#!python
    173175ansible-playbook hello-client.yml -i inventory
    174 ansible-playbook hello-server.yml -i inventory
    175176   }}}
    176177}}}
    177  a. Using the above Ansible modules, reproduce the steps in the HelloGENI install script for the `server` node.  As you find a command that works, carefully copy it into a text file and then into the Playbook. 
     178 a. Using the above Ansible modules, reproduce the steps in the HelloGENI install script for the `server` node.  As you find a command that works, construct a `hello-server.yml` playbook.
    178179
    179180== 6.  Analyze Experiment ==