Commit Graph

25 Commits (ec0fff49eaaea30d0d65cad6de809372648fd709)

Author SHA1 Message Date
Alvaro Aleman 0a9cdf647a Make os_user_role respect domain when querying for projects (#2520) 2016-12-08 11:34:32 -05:00
mathieu bultel 579b2a8f2e Add os_stack module for create, update and delete stack (#2002)
* Add os_stack module for create and delete stack

* Add ansible module for creating and deleting heat stack
* Parameters:
  - stack name
  - template
  - environment_files (list)
  - parameters (dict)
  - timeout
  - rollback
  - state: In a near futur I would like to improve
    this module by providing a way updating the stack
    if already exist. Shade doesn't offer this functionality
    AFAIK

* Add update stack feature

* Update added_version and return doc

* Add copyright for os_stack module

* Add wait user choice and minor fixes

* Remove Todo for Shade 1.8.0 and bad line example

* Add documentation for the return values

* Fix type on return value

* Fix yaml syntax

* Cast message to string instead

* add missing check mode
2016-12-08 11:34:31 -05:00
SamYaple 8c934abfd5 Create OpenStack identity services module
New module using shade to create and manage OpenStack identity
services
2016-12-08 11:34:21 -05:00
Ricardo Carrillo Cruz eda5e2f571 Add os_project_facts module
This module gathers facts about OpenStack projects
2016-12-08 11:34:05 -05:00
David Shrewsbury b928ffb5ac New OpenStack module os_port_facts (#1986) 2016-12-08 11:34:05 -05:00
Ricardo Carrillo Cruz 079a7dc490 Add os_user_facts module
This module gather facts about one or more OpenStack users
2016-12-08 11:34:04 -05:00
Ricardo Carrillo Cruz aba0597e45 Add os_keystone_domain_facts module
This module gathers one or more OpenStack domains facts
2016-12-08 11:34:04 -05:00
Rene Moser 051b11b983 openstack: doc: add return doc, fixes build 2016-12-08 11:34:01 -05:00
David Shrewsbury 33d3616bab Add OpenStack os_user_role module 2016-12-08 11:34:01 -05:00
David Shrewsbury 2dddfbe67c Add shade version check to os_flavor_facts
The range_search() API was added to the shade library in version
1.5.0 so let's check for that and let the user know they need to
upgrade if they try to use it.
2016-12-08 11:34:00 -05:00
Julia Kreger 011267c04e Add os_ironic_inspect module
Addition of an os_ironic_inspect module to leverage the OpenStack
Baremetal inspector add-on to ironic or ironic driver out-of-band
hardware introspection, if supported and configured.
2016-12-08 11:33:59 -05:00
Ricardo Carrillo Cruz ba3515bc30 Allow passing domain name on os_project 2016-12-08 11:33:59 -05:00
Toshio Kuratomi 5b84102a15 Doc fixes 2016-12-08 11:33:56 -05:00
David Shrewsbury cd2c7deec4 Add os_group.py OpenStack module
Allows an admin (or privileged user) to manage Keystone v3
groups.
2016-12-08 11:33:56 -05:00
David Shrewsbury e25c04aeb0 Add new os_flavor_facts.py module
New module to retrieve facts about existing instance flavors.
By default, facts on all available flavors will be returned.
This can be narrowed by naming a flavor or specifying criteria
about flavor RAM or VCPUs.
2016-12-08 11:33:56 -05:00
David Shrewsbury b697d986c1 Add new os_keystone_role module.
This new module allows for creating and deleting Keystone
roles.
2016-12-08 11:33:56 -05:00
Ricardo Carrillo Cruz 9fea94b5bf Fix instantiation of openstack_cloud object in os_project
The os_project module instantiates the openstack cloud object
by passing the module params kwargs.
As the params contain a key named 'domain_id', this is used
for domain in the OpenStack connection, instead of the domain value
the user specifies on the OSCC clouds.yaml or OpenStack envvars.
This fix corrects this by popping the 'domain_id' key, so it we
keep the value but it's not passed later on module.params.
2016-12-08 11:33:53 -05:00
David Shrewsbury ccee183143 Fix exception output for os_keystone_domain.
The message attribute of a shade exception is not very helpful.
Converting to a full string will contain many more details.
2016-12-08 11:33:45 -05:00
David Shrewsbury 17e9b85228 Update Keystone Domain module for latest shade 2016-12-08 11:33:45 -05:00
Monty Taylor 072cf69cc1 Extract module for keystone domain management 2016-12-08 11:33:45 -05:00
Haneef Ali e4e88807e8 Ansible module for Keystone V3 API
Change-Id: I9db323cc9e5a42353cab5cf4be6e22449cef8542
2016-12-08 11:33:45 -05:00
Brian Coca 896eecfdad fixed domain_id to actually be supported
also added domain as an alias
alt fixes #1437
2016-12-08 11:33:41 -05:00
Gauvain Pocentek 165e025a6d Add an __init__.py file in openstack/
The os_project module doesn't get installed if the __init__ file doesn't
exist in the repository.
2016-12-08 11:33:40 -05:00
Alberto Gireud a7b90cf456 Fix return documentation 2016-12-08 11:33:34 -05:00
Alberto Gireud bbdebd7548 Add openstack project module 2016-12-08 11:33:34 -05:00