Changes between Version 6 and Version 7 of GENIExperimenter/Tutorials/AnsibleHelloGENI/Execute


Ignore:
Timestamp:
03/15/15 16:02:14 (5 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

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

    v6 v7  
    5858== 5.  Execute Experiment ==
    5959
     60{{{
     61#!div style="background: #ffd; border: 3px ridge; width: 800px;"
     62On your local machine:
     63
     64   {{{
     65#!sh
     66ansible -i inventory all -s -m apt -a "name=apache2 update_cache=yes"
     67
     68ansible -i inventory server -s  -a "/usr/sbin/a2enmod status"
     69
     70ansible -i inventory server -s -m file -a "path=/var/www/html state=absent"
     71
     72ansible -i inventory server -s  -m synchronize -a "src=website/index.html dest=/var/www"
     73
     74ansible -i inventory server -s  -m lineinfile -a "line='ExtendedStatus On' dest=/etc/apache2/conf.d/extendedstatus create=yes state=present"
     75
     76ansible -i inventory server -s  -m service -a "name=apache2 state=restarted"
     77   }}}
     78}}}
    6079== 6.  Analyze Experiment ==
    6180