ANSIBLE.NOVA_KEYPAIR(3)         ANSIBLE MODULES        ANSIBLE.NOVA_KEYPAIR(3)



NAME
       nova_keypair - Add/Delete key pair from nova

DESCRIPTION
       Add or Remove key pair from nova .

OPTIONS
       auth_url
              The keystone url for authentication (default:
              http://127.0.0.1:35357/v2.0/)

       login_password
              Password of login user(required) (default: yes)

       login_tenant_name
              The tenant name of the login user(required) (default: yes)

       login_username
              login username to authenticate to keystone(required) (default:
              admin)

       name   Name that has to be given to the key pair(required) (default:
              None)

       public_key
              The public key that would be uploaded to nova and injected to
              vm's upon creation (default: None)

       region_name
              Name of the region (default: None)

       state  Indicate desired state of the resource Choices: present,absent.
              (default: present).

EXAMPLES
       # Creates a key pair with the running users public key
       - nova_keypair: state=present login_username=admin
                       login_password=admin login_tenant_name=admin name=ansible_key
                       public_key={{ lookup('file','~/.ssh/id_rsa.pub') }}

       # Creates a new key pair and the private key returned after the run.
       - nova_keypair: state=present login_username=admin login_password=admin
                       login_tenant_name=admin name=ansible_key



SEE ALSO
       ansible(1), http://ansible.github.com/modules.html#nova-keypair



1.4.5                             2014-02-12           ANSIBLE.NOVA_KEYPAIR(3)
