Commit Graph

46 Commits (ac7edef2be84d4d22081d33393f584fa89fdda4f)

Author SHA1 Message Date
James Cammarata 011ea55a8f Relocating extras into lib/ansible/modules/ after merge 2016-12-08 11:35:18 -05:00
James Cammarata 8afa090417 Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
Toshio Kuratomi 7319104552 Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
Fabio Alessandro Locati 21bd86ef1d Call main in conditional way - cloud/rackspace 2016-12-08 11:25:35 -05:00
Sam Doran 895179929c Examples syntax batch6 (#5623)
* Change example syntax on os_auth module

* Change example syntax on os_client_config module

* Change example syntax on os_image_facts module

* Change example syntax on os_networks_facts module

* Change example syntax on os_nova_flavor module

* Change example syntax on os_object module

* Change example syntax on os_server module

* Change example syntax on os_subnet_facts module

* Change example syntax on rax_files module

* Change example syntax on rax_files_objects module

* Change example syntax on mysql_db module

* Change example syntax on file module

* Change example syntax on uri module

* Change example syntax on cl_bond module

* Change example syntax on cl_bridge module

* Change example syntax on cl_img_install module

* Change example syntax on cl_interface module

* Change example syntax on cl_license module

* Change example syntax on cl_ports module

* Remove trailing colon
2016-12-08 11:25:31 -05:00
adejongh a89992f70f Fixed incorrect usage of user_data variable (#5194) 2016-12-08 11:25:19 -05:00
@ 7e4b1ebff5 Fixing Rackspace compile time errors irt exception handling for Python 3 (#3849) 2016-12-08 11:24:34 -05:00
Toshio Kuratomi 291e00d43a Docs fixes 2016-12-08 11:24:28 -05:00
Matt Martz c26c17aa28 overwrite option was added for 2.1 2016-12-08 11:24:16 -05:00
Pete Travis b504625f72 quote fail 2016-12-08 11:24:07 -05:00
Pete Travis f6efa9aaa5 expand when opening too 2016-12-08 11:24:07 -05:00
Pete Travis 57703450f5 use expanduser() before testing user_data as file
I like to use ~/somepath instead of absolute paths because
that's more shareable.  Without expansion, the path wasn't
considered a file, and the resulting cloud-config user_data
contained a string for the file path instead of the file context.
So, expand it.
2016-12-08 11:24:07 -05:00
Brian Coca ab6242bace fixed rax_cdb argument spec
now we pull the actual arguments and added aliases to be nice
fixes #3075
2016-12-08 11:24:07 -05:00
Brian Coca f1d2c71f83 corrected description key spelling 2016-12-08 11:24:04 -05:00
Vladimir Mihailenco 2bdfea4a43 rackspace: set headers when uploading files to CF.
Otherwise CDN (Akamai) downloads file without the headers. The sequence
is following:
1. Ansible uploads file to CF.
2. Akamai downloads the file and caches it in CDN.
3. Ansible sets headers.

As a result Akamai serves file without headers.

This is backwards incompatible change, because headers keys are not
prefixed with `x-object-meta-`. Which allows user to set headers like
`Access-Control-Allow-Origin`.
2016-12-08 11:23:59 -05:00
bobgroves 18d4a33891 Makes rax_dns_record override default to true 2016-12-08 11:23:59 -05:00
bobgroves 65697dea14 Adds overwrite option to rax_dns_record 2016-12-08 11:23:59 -05:00
Brian Coca 205d607320 added version added to new rax_cdb choices 2016-12-08 11:23:40 -05:00
Brian Richards c054a058c0 Preventing servers that are deleted and left in the deleted state from being included in the server list 2016-12-08 11:23:32 -05:00
Mehul Ved 832f251e90 renamed variables type to cdb_type and version to cdb_version. 2016-12-08 11:23:31 -05:00
Mehul Ved bb6762dffd Added support for instance types.
Added type and version parameters to be passed to rax_cdb module
so users can create Percona and MariaDB instance types.
2016-12-08 11:23:29 -05:00
Jamie Hannaford 0eef7cadfa Add wait and wait_timeout options for provisioning servers 2016-12-08 11:23:28 -05:00
Vladimir Mihailenco de8c453ac6 rackspace: pass full path to the isdir. 2016-12-08 11:23:28 -05:00
Matt Martz 158772ffc2 Fix some remaining rax asg idempotency checks 2016-12-08 11:23:10 -05:00
Jamie Hannaford f969bc0549 Fix get_launch_config var name 2016-12-08 11:23:08 -05:00
Jamie Hannaford 6b9310ecfb Fix attribute name for Auto Scale servers 2016-12-08 11:23:08 -05:00
Greg DeKoenigsberg 4cdd58064d Updated author data for modules 2016-12-08 11:23:08 -05:00
Greg DeKoenigsberg 18ca7aee07 Updating cloud modules with proper github author information 2016-12-08 11:23:07 -05:00
Matt Martz bcd9f83521 Prevent an empty error message 2016-12-08 11:22:48 -05:00
Matt Martz 8e4755728e DRY up duplicate code 2016-12-08 11:22:43 -05:00
Matt Martz cf50526cb5 Don't hardcode minimum for boot_volume_size 2016-12-08 11:22:43 -05:00
Matt Martz 724ae97898 Fix order of logic to determine required args 2016-12-08 11:22:43 -05:00
Matt Martz 1f51a5effd Add boot from volume functionality to rax and rax_cbs modules 2016-12-08 11:22:42 -05:00
Matt Martz cce6cb8d7f Don't hardcode a minimum size of a volume 2016-12-08 11:22:42 -05:00
Matt Martz a078a99fae Support accounts with more than 100 load balancers 2016-12-08 11:22:42 -05:00
Matt Martz ff90273021 Remove unnecessary logic, return the database on delete 2016-12-08 11:22:39 -05:00
Matt Martz 8b60fb7181 Remove unnecessary required arg logic, and remove 'absent' as a valid choice since it isn't implemented 2016-12-08 11:22:38 -05:00
Matt Martz 5ae50eb8cf Small fix-ups to convert objects to dicts, update volume details at the appropriate time, and remove unnecessary required argument logic 2016-12-08 11:22:38 -05:00
Matt Martz 19d99e0da6 Remove some broken and unnecessary required args logic 2016-12-08 11:22:38 -05:00
Matt Martz 63e5d5dcc4 Use rax_to_dict and make sure to return the volume details after deletion 2016-12-08 11:22:38 -05:00
Matt Martz 3a46c79451 Clean up some required argument logic 2016-12-08 11:22:38 -05:00
Matt Martz db5f2bf3df Just use built in required functionality for arguments 2016-12-08 11:22:38 -05:00
Matt Martz 617048b717 It is not correct that you need at least 1 primary node 2016-12-08 11:22:38 -05:00
Matt Martz 411e4cfae8 Make a few enhancements to the rax_scaling_group module
* Cast loadbalancer id and port to integers
* Do not attempt to base64 encode NoneType values
2016-12-08 11:22:32 -05:00
Brian Coca 5a467bc72c added __init__.py to new cloud subcategories so builds work again 2016-12-08 11:22:25 -05:00
Brian Coca 32e85c0944 made subcategories for cloud modules for better organization 2016-12-08 11:22:24 -05:00