wiki:GENIExperimenter/Tutorials/AnsibleHelloGENI/StandaloneSetup

Version 8 (modified by sedwards@bbn.com, 10 years ago) (diff)

--

Reserve a standalone node to run the Ansible client

  1. Reserve a single xen node at the aggregate you are using for your experiment. (The "1 Xen VM (IG)" RSpec in the GENI Portal.)
  2. Login to your node using ssh.
  3. Install Ansible on this node. Following the instructions for Ubuntu and repeated here for convenience.
    $ sudo apt-get install software-properties-common
    $ sudo apt-get install python-software-properties
    $ sudo apt-add-repository ppa:ansible/ansible
    $ sudo apt-get update
    $ sudo apt-get install ansible
    
  4. Run ssh-keygen to generate a new key pair. When prompted save the key in a file ansiblekey.
  5. Start your ssh agent (enter your passphrase when prompted):
    $ ssh-agent bash
    $ ssh-add ~/id_geni_ssh_rsa
    
  6. cp ~/.ssh/id_rsa.pub id_rsa_ansible.pub
  7. Copy the public key onto your local machine (TBD).
  8. Upload the public key to your account on the GENI Portal via the Profile page.