ANSIBLE.QUANTUM_FLOATING_IP(3)

NAME
quantum_floating_ip - Add/Remove floating IP from an instance

DESCRIPTION

Add or Remove a floating IP to an instance

OPTIONS

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

instance_name
    The name of the instance to which the IP address should be assigned(required) (default: None)

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)

network_name
    Name of the network from which IP has to be assigned to VM. Please make sure the network is an external network(required) (default: None)

region_name
    Name of the region (default: None)

state
    Indicate desired state of the resource Choices: present,absent. (default: present)."
    # Assign a floating ip to the instance from an external network
    - quantum_floating_ip: state=present login_username=admin login_password=admin
                           login_tenant_name=admin network_name=external_network
                           instance_name=vm1

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#quantum-floating-ip