Changes between Version 11 and Version 12 of GENIExperimenter/Tutorials/GENIExperimentEngine/DesignSetup


Ignore:
Timestamp:
03/18/15 18:04:56 (9 years ago)
Author:
acb@cs.princeton.edu
Comment:

--

Legend:

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

    v11 v12  
    161161The '''setup''' module is run automatically at the beginning of a playbook to populate variables for each node.  The above playbook will dump the value of each node’s ''ansible_hostname'' variable.  To run the playbook on a single node, replace ''nodes'' with the name of one of your slice nodes (e.g., slice338.pcvm3-7.instageni.nps.edu).
    162162
     163----
     164
     165== 5. Create and run an Ansible playbook to install the software you'll need ==
     166
     167Next you will write a playbook to install the software you'll need on all the nodes.  Below is a skeleton Ansible file that you use ([attachment:software-install.yaml download]).  You will need to fill in the bits marked `# INSERT ARGUMENTS HERE` based on the instructions in the following section.  If you get stuck at any point, you can take a look at this [attachment:software-install-solution.yaml solution].
     168
     169{{{
     170#!python
     171---
     172- hosts: nodes
     173  remote_user: root
     174  tasks:
     175  - name: Update apt cache
     176    apt: # INSERT ARGUMENTS HERE
     177
     178  - name: Install dnsutils (for dig)
     179    apt: # INSERT ARGUMENTS HERE
     180
     181  - name: Install geoip-bin (for geoiplookup)
     182    apt: # INSERT ARGUMENTS HERE
     183}}}
     184
     185Run this playbook on all the nodes in your slice. 
    163186
    164187----