Changes between Version 9 and Version 10 of GENIExperimenter/Tutorials/AnsibleHelloGENI/Execute
- Timestamp:
- 03/15/15 16:05:03 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIExperimenter/Tutorials/AnsibleHelloGENI/Execute
v9 v10 60 60 61 61 {{{ 62 #!div style="background: #ffd; border: 3px ridge; width: 800px;" 63 64 {{{ 62 65 #!html 63 66 … … 68 71 </td> 69 72 <td> 70 You can download your certificate from your slice authority.73 The following are some example Ansible commands. 71 74 </td> 72 75 </tr> … … 74 77 }}} 75 78 76 {{{77 #!div style="background: #ffd; border: 3px ridge; width: 800px;"78 79 On your local machine: 79 80 … … 81 82 #!sh 82 83 ansible -i inventory all -s -m apt -a "name=apache2 update_cache=yes" 83 84 }}} 85 {{{ 86 #!sh 84 87 ansible -i inventory server -s -a "/usr/sbin/a2enmod status" 85 88 }}} 89 {{{ 90 #!sh 86 91 ansible -i inventory server -s -m file -a "path=/var/www/html state=absent" 87 92 }}} 93 {{{ 94 #!sh 88 95 ansible -i inventory server -s -m synchronize -a "src=website/index.html dest=/var/www" 89 96 }}} 97 {{{ 98 #!sh 90 99 ansible -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 92 103 ansible -i inventory server -s -m service -a "name=apache2 state=restarted" 93 104 }}}