Changes between Version 17 and Version 18 of GEC21Agenda/ScalingUp/Procedure/Appendix
- Timestamp:
- 05/27/15 22:07:15 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC21Agenda/ScalingUp/Procedure/Appendix
v17 v18 155 155 </table> 156 156 }}} 157 The Playbook to tell the `server` node to rerun the `nmap` scan and post the results is in `roles/nmap/tasks/map.yml` and looks as follows:157 The Playbook to configure the `server` node is in `server.yml`. It links to other files. For example, the code to tell the `server` node to run the `nmap` scan and post the results is in `roles/nmap/tasks/map.yml` and looks as follows: 158 158 159 159 {{{ … … 171 171 - name: copy nmap html file to a public place 172 172 command: mv {{ nmap_html_file }} {{ WEB_ROOT }}/{{ nmap_dir }}/nmap.html removes={{ nmap_html_file }} 173 [174 173 }}} 175 174 176 ''Do these commands look like the Ad Hoc commands you came up with in the previous step?'' 177 178 Put the above content in a file called `server.yml`. 175 ''Do these commands look like the Ad Hoc commands from the previous step?'' 179 176 180 177 Run the playbook with the following command on the local machine: … … 186 183 }}} 187 184 a. Browse to the server node. Click on the `nmap` link. 188 a. After some of your neighbors have brought up their nodes, run the following command :185 a. After some of your neighbors have brought up their nodes, run the following command to only do a portion of the `server` configuration: 189 186 {{{ 190 187 #!python