= [wiki:GENIExperimenter/Tutorials/GENIExperimentEngine Get to Know the GENI Experiment Engine] = {{{ #!html
Hello GENI index Hello GENI index Hello GENI index
}}} = STEPS FOR EXECUTING EXERCISE = == Experiment with various Ansible modules: ping, shell, setup == Next, get familiar with some basic Ansible commands . The '''ping''' module simply tries to do a SSH login to a node and reports success or failure. Run the following command on your controller: {{{ $ ansible nodes -i ansible-hosts --private-key id_rsa -u root -m ping }}} If you don’t see success everywhere then there is something wrong with your setup. Ask one of the tutorial leaders for help. The '''shell''' module lets you run arbitrary SSH commands in parallel across a set of hosts. It’s useful for poking around, or if there is no Ansible module with the functionality you need. Try it out: {{{ $ ansible nodes -i ansible-hosts --private-key id_rsa -u root -m shell -a "hostname" }}} You can replace ''hostname'' above with any other Linux command. == Create an Ansible playbook to achieve the tutorial objective == == Run the playbook == = [wiki:GENIExperimenter/Tutorials/GENIExperimentEngine/Finish Next: Teardown Experiment] =