ANSIBLE.RAX_NETWORK(3)

NAME
rax_network - create / delete an isolated network in Rackspace Public Cloud

DESCRIPTION

creates / deletes a Rackspace Public Cloud isolated network.

OPTIONS

api_key
    Rackspace API key (overrides credentials)

cidr
    cidr of the network being created

credentials
    File to find the Rackspace credentials in (ignored if api_key and username are provided)

label
    Label (name) to give the network

region
    Region to create the network in (default: DFW)

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

username
    Rackspace username (overrides credentials).

NOTES

The following environment variables can be used, RAX_USERNAME, RAX_API_KEY, RAX_CREDS, RAX_CREDENTIALS, RAX_REGION.

RAX_CREDENTIALS and RAX_CREDS points to a credentials file appropriate for pyrax

RAX_USERNAME and RAX_API_KEY obviate the use of a credentials file

RAX_REGION defines a Rackspace Public Cloud region (DFW, ORD, LON, ...)

EXAMPLES
- name: Build an Isolated Network
  gather_facts: False
  tasks:
    - name: Network create request
      local_action:
        module: rax_network
        credentials: ~/.raxpub
        label: my-net
        cidr: 192.168.3.0/24
        state: present

AUTHOR
Christopher H. Laco, Jesse Keating

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