Changes between Version 9 and Version 10 of GENIExperimenter/Tutorials/AnsibleHelloGENI/Execute


Ignore:
Timestamp:
03/15/15 16:05:03 (9 years ago)
Author:
sedwards@bbn.com
Comment:

--

Legend:

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

    v9 v10  
    6060
    6161{{{
     62#!div style="background: #ffd; border: 3px ridge; width: 800px;"
     63
     64{{{
    6265#!html
    6366
     
    6871               </td>
    6972               <td>
    70                     You can download your certificate from your slice authority.
     73                    The following are some example Ansible commands.
    7174               </td>
    7275        </tr>
     
    7477}}}
    7578
    76 {{{
    77 #!div style="background: #ffd; border: 3px ridge; width: 800px;"
    7879On your local machine:
    7980
     
    8182#!sh
    8283ansible -i inventory all -s -m apt -a "name=apache2 update_cache=yes"
    83 
     84   }}}
     85   {{{
     86#!sh
    8487ansible -i inventory server -s  -a "/usr/sbin/a2enmod status"
    85 
     88   }}}
     89   {{{
     90#!sh
    8691ansible -i inventory server -s -m file -a "path=/var/www/html state=absent"
    87 
     92   }}}
     93   {{{
     94#!sh
    8895ansible -i inventory server -s  -m synchronize -a "src=website/index.html dest=/var/www"
    89 
     96   }}}
     97   {{{
     98#!sh
    9099ansible -i inventory server -s  -m lineinfile -a "line='ExtendedStatus On' dest=/etc/apache2/conf.d/extendedstatus create=yes state=present"
    91 
     100   }}}
     101   {{{
     102#!sh
    92103ansible -i inventory server -s  -m service -a "name=apache2 state=restarted"
    93104   }}}