Changes between Version 12 and Version 13 of GEC21Agenda/ScalingUp/Procedure/Appendix


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

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC21Agenda/ScalingUp/Procedure/Appendix

    v12 v13  
    115115#!sh
    116116$ ansible -i inventory all -m ping
    117 client | success >> {
     117server-1 | success >> {
    118118    "changed": false,
    119119    "ping": "pong"
    120120}
    121121
    122 server | success >> {
     122host-1 | success >> {
    123123    "changed": false,
    124124    "ping": "pong"
    125125}
    126    }}}
     126
     127rt-1 | success >> {
     128    "changed": false,
     129    "ping": "pong"
     130}
     131
     132host-2 | success >> {
     133    "changed": false,
     134    "ping": "pong"
     135}
     136}}}
    127137}}}
    128138 c. Try using the ping module in Ansible to only ping `server` or `client` by replacing `all` in the above with `server` or `client`.