Commit Graph

208 Commits (21fa2d3848cb35741aa0d2269b9ca827b58e5563)

Author SHA1 Message Date
Greg DeKoenigsberg 57dcf2c9dd @lorin stepping down as maintainer 10 years ago
Brian Coca 30951e2811 Merge pull request #2345 from larsks/bug/port-allow-secgroup-list
allow os_port to accept a list of security groups
10 years ago
Brian Coca 7c1fcd8e13 Merge pull request #2349 from larsks/bug/router-should-return-id
make os_router return a top level 'id' key
10 years ago
Brian Coca ad8fd86467 Merge pull request #2338 from larsks/bug/flavor-should-return-id
make os_flavor return a top-level 'id' key
10 years ago
Brian Coca 0e0c28bfb1 Merge pull request #2344 from larsks/bug/allow-secgroup-list
allow os_server to accept a list of security groups
10 years ago
Brian Coca 3199a73927 Merge pull request #2339 from larsks/bug/keypair-should-return-id
make os_keypair return a top level 'id' key
10 years ago
Brian Coca 59f11aa973 Merge pull request #2336 from larsks/feature/os-subnet-returns-something
return information about created subnet
10 years ago
Lars Kellogg-Stedman d82460a372 make os_router return a top level 'id' key
make os_router return a top-level 'id' key, much like other
os_* resources.
10 years ago
Lars Kellogg-Stedman a2fe8dba68 allow os_port to accept a list of security groups
with this commit, the `security_groups` attribute for `os_port` will
accept either a common-delimited string or ` YAML list.  That is, either
this:

    - os_port:
        [...]
        security_groups: group1,group2

Or this:

    - os_port:
        [...]
        security_groups:
          - group1
          - group2
10 years ago
Brian Coca 12b0582f9e Merge pull request #2343 from larsks/bug/secgroup-allow-empty-description
allow empty description attribute for os_security_group
10 years ago
Brian Coca 49a66eb8d2 Merge pull request #2337 from larsks/bug/os-network-always-unchanged
make os_network correctly report changed status
10 years ago
Lars Kellogg-Stedman b0c10a7d31 allow os_server to accept a list of security groups
This commit allows the `security_groups` parameter of the `os_server`
module to be either a YAML list or a common-delimited string (much like
the `nics` attribute).  E.g., this:

    - os_nova_server:
        [...]
        security_groups:
          - default
          - webserver

Or this:

    - os_nova_server:
        [...]
        security_groups: default,webserver
10 years ago
Lars Kellogg-Stedman da0fbfc564 allow empty description attribute for os_security_group
The `os_security_group` module would fail if there was no `description:`
attribute:

    localhost | FAILED! => {
        "changed": false,
        "failed": true,
	"msg": "Error creating security group larstest: Invalid input for
	description. Reason: 'None' is not a valid string."
    }

This commit makes the default description `''` rather than `None`.
10 years ago
Lars Kellogg-Stedman 377811dac2 make os_keypair return a top level 'id' key
make os_keypair return a top-level 'id' key, much like other os_*
resources.
10 years ago
Lars Kellogg-Stedman 8368da4297 make os_flavor return a top-level 'id' key
make os_flavor return a top-level 'id' key, much like other os_*
resources.
10 years ago
Lars Kellogg-Stedman c54c5c8234 make os_network correctly report changed status
The `os_network` module was incorrectly returning changed=False whether
or not the network was created.  This commit makes the changed return
value useful.
10 years ago
Lars Kellogg-Stedman d73f5a4adb return information about created subnet
make os_subnet behave like os_network in terms of returning information
about the created resource.  With this commit, os_subnet will return the
created subnet in `subnet` and the subnet id in `id`.
10 years ago
David Shrewsbury 5d73a9a4c5 Fix for routers without external interfaces 10 years ago
Matt Martz 2e49d89be7 Merge pull request #2328 from emonty/bug/is-public
Actually pass in is_public to create_image
10 years ago
Monty Taylor e7bdf7f7f6 Actually pass in is_public to create_image
Fixes #2325
10 years ago
Brian Coca 88e7dcf174 fixed mispelled description 10 years ago
Matt Martz dc1f0c6f9f Merge pull request #2319 from Shrews/os_user
Add OpenStack Keystone User module
10 years ago
David Shrewsbury fde149cbe8 Clarify password requirement and add return docs. 10 years ago
David Shrewsbury cdf7117f7e Add OpenStack Keystone User module
This is a replacement for PR #1598 and fixes #283
10 years ago
Brian Coca 0f308e1e07 Merge pull request #2275 from larsks/bug/2253
fix handling of nics argument
10 years ago
Brian Coca b73ffa3b6f Merge pull request #2310 from Shrews/os_router
Fix os_router to accept internal interfaces
10 years ago
David Shrewsbury 55e9dc73f5 Fix os_router to accept internal interfaces
Allow the 'interfaces' attribute to represent internal router
interfaces, composed of subnet names, and the 'external_fixed_ips'
attribute to represent external interface subnet/IP.
10 years ago
Lars Kellogg-Stedman 06098a9d69 fix handling of nics argument
The existing code was receiving a list of strings and erroneously
assuming it was being given a list of dictionaries, leading it to fail
with:

    AttributeError: 'str' object has no attribute 'get'

This commit corrects the list handling code to check the type of each
item and handle it appropriately.   Also, based on bcoca's comment
in #2253, thie code removes the special case for a string-only argument.

By transforming string arguments into dicts and then handling them like
any other dict argument, this also permits arguments of the form:

    nics: net-name=mynet

Or:

    nics: port-name=mynet

Previous versions of this code only supported `net-id` and `port-id` in
string specifications.
10 years ago
Monty Taylor 4590ba4e59 Make the auto ip parameter auto_ip
There was a parameter in the docs called 'public_ip' that didn't
actually exist. Additionally, auto_floating_ip is not consistent with
the underlying parameter which is auto_ip - for no good reason.

Add auto_ip as the real parameter, and then make public_ip and
auto_floating_ip as aliases for it for backwards compatability.

Fixes #2301
10 years ago
Brian Coca 5da7cf696c fixed results docs 10 years ago
Toshio Kuratomi 3af0d509c5 Some docs fixes 10 years ago
Brian Coca 7b21bc7144 Merge pull request #2238 from dagnello/server_meta_string
Adding string support to metadata argument
10 years ago
Brian Coca 6e54a5edc5 Merge pull request #2077 from dagnello/subnet_list_state
Adding os_subnets_facts module
10 years ago
Brian Coca f35ab5faca Merge pull request #2106 from dagnello/port_module
Adding os_port Module to openstack ansible modules
10 years ago
Brian Coca f707a711cd doc fixes 10 years ago
dagnello 83a9f293fd Adding string support to metadata argument
This patch adds support to setting metadata key/value through a string
argument.  Variables can now be used for both the metadata key and
value.

example:
meta: "{{ var1 }}:SomeValue,key:{{ var2 }}"
10 years ago
Brian Coca 969c4eb493 Merge pull request #2078 from abithap/devel
os_server: Adding support to accept 'n' nic args as a string containi…
10 years ago
Brian Coca af82f4b23e Merge pull request #2105 from dagnello/network_list_state
Adding os_networks_facts module
10 years ago
Brian Coca 00a18c2a6e Merge pull request #2110 from dagnello/os_image_facts
Adding new image facts module
10 years ago
Adrian Lopez 8c7d697c17 Fix yaml syntax 10 years ago
dagnello 3365dad0d8 Adding os_port Module to openstack ansible modules 10 years ago
James Cammarata 02c9a1b336 Merge pull request #2158 from Shrews/os_network
Allow setting external attribute
10 years ago
Toshio Kuratomi dbc860daaa Fix docs build 10 years ago
Brian Coca 79ec9efd7b Merge pull request #1048 from emonty/feature/os_router
Add OpenStack Router module
10 years ago
David Shrewsbury aa1e8b8b05 Add author to os_router 10 years ago
David Shrewsbury 08e91ef68f Deprecate older router modules.
The quantum_router_gateway.py and quantum_router_interface.py modules
are deprecated with this change.
10 years ago
David Shrewsbury 750a91520f Allow setting external attribute
With shade > 0.13.0, networks can be created that are externally
accessible. This adds a parameter for that.

Also, add RETURN documentation and 'if __name__' check around call
to main().
10 years ago
David Shrewsbury d52bb67978 Allow complete router configuration
This change allows one to completely configure a router, including
gateway and interfaces, using the latest shade (>0.13.0).
10 years ago
dagnello 40974a9811 Adding new os_subnets_facts module
There can be instances during an Ansible play where the list of subnets
currently available from OpenStack is required.  This update provides
subnet list functionality as a new os_subnets_facts module.
10 years ago
dagnello 7d09437328 Adding os_networks_facts module
There can be instances during an Ansible play where the list of networks
currently available from OpenStack is required.  This update provides
network list functionality as a new os_networks_facts module.
10 years ago