Matt Martz
050b2e5386
Dedupe PTR record related code in rax_dns_record
2014-08-06 16:47:33 -05:00
Matt Martz
07d80b5f1e
Move additional rackspace common code into module_utils/rax.py
2014-08-06 16:26:48 -05:00
James Cammarata
b14c77fc79
Merge pull request #7477 from sivel/rax-user-data
...
rax module: Support config_drive and user_data
2014-07-14 10:25:28 -05:00
James Cammarata
f31c075c76
Merge branch 'rax-meta' of https://github.com/sivel/ansible into sivel-rax-meta
2014-06-04 11:02:35 -05:00
Matt Martz
aaf880af19
Mention that user_data can be a file path or a string
2014-06-01 14:47:01 -05:00
Matt Martz
2c7b70d140
Switch functions over to kwargs to make it easier to manage in the future
2014-06-01 14:45:54 -05:00
Matt Martz
5b4f8d76c7
Add user_data and config_drive support
2014-06-01 14:42:58 -05:00
Matt Martz
ce38f006a3
Add rax_meta module
...
Also update rax to mirror meta value normalization from rax_meta
2014-06-01 14:31:26 -05:00
Matt Martz
9178ed1dbd
Return untouhced servers with exact_count
2014-04-04 12:15:35 -05:00
Matt Martz
61ace3a03c
rax modules improvements
...
* Catch issues with invalid regions
* Ensure we send string only data as meta values in the rax module
* Add public_key/lookup example for rax_keypair
* Clean up import statements
2014-04-03 17:16:24 -04:00
Matt Martz
aaf766595b
Use PluginLoader for module docs fragments
2014-04-03 16:52:39 -04:00
Matt Martz
681c5aea3a
Add support for shared module documentation fragments
2014-04-03 16:52:39 -04:00
Matt Martz
88a91acfde
Support arbitrary extra args in rax module
...
Add extra_create_args and extra_client_args to rax module to support passing
advanced configuration options to client instantiation and server create calls.
2014-03-26 12:50:44 -05:00
Richard C Isaacson
07f6d29503
Bulk update of choices=BOOLEANS to type='bool'
2014-03-11 22:46:53 -05:00
jctanner
43942d2922
Merge pull request #5941 from sivel/rax-name-search-opts
...
rax module: Use regex start and end of string with name base filters
2014-02-26 05:56:39 -05:00
Matt Martz
cfe1335665
Don't set a default disk_config. Defaulting to 'auto', causes issues with new images
2014-02-10 16:12:32 -06:00
Matt Martz
f4a494e14d
The name parameter for search_opts is a regex string, so make sure we include start and end of string characters
2014-02-10 13:18:03 -06:00
Matt Martz
c1b08f5d28
Update rax module DOCUMENTATION with new auth options
2014-01-28 13:59:49 -06:00
Matt Martz
ccbed7bb55
Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more
2014-01-20 16:43:42 -06:00
jctanner
4cd821e9d9
Merge pull request #5404 from sivel/rax-improvements
...
rax module: improvements
2014-01-07 15:52:35 -05:00
Troy C
ff1570ea31
catch exposed cs.exceptions instead of novaclient
2013-12-16 09:33:29 -06:00
Troy C
c2d34efd21
import novaclient.exceptions for cs.images.find
...
cs.images.find(human_id= throws novaclient.exceptions.NotFound,
resulting in the try/except block with
image = cs.images.find(name=image) being skipped. catching
novaclient.exception.NotFound allows images to be specified with the
human readable name.
Example:
tasks:
- name: Server build request
local_action:
module: rax
region: DFW
image: Ubuntu 12.04 LTS (Precise Pangolin)
Also, the import is placed after try: import pyrax, because pyrax
imports novaclient and should fail if novaclient is missing.
2013-12-13 16:27:21 -06:00
Matt Martz
6dbd7d0d8d
Add ansible.module_utils.rax
2013-11-21 15:46:25 -06:00
Matt Martz
0aa71a19ab
Refactor rax module
2013-11-15 12:25:21 -06:00
Michael DeHaan
a3df406554
Add note about feature being new in 1.4
2013-10-14 11:57:19 -04:00
Constantine Peresypkin
c2eef4d139
add support for disk_config option to cloud/rax module
2013-10-14 11:57:19 -04:00
Michael DeHaan
beae21dd40
Remove examples of module antipattern of setting the choices array for boolean types.
2013-10-11 08:45:13 -04:00
James Laska
df2fb25b63
[cloud/rax] support wait on delete
...
Add support to existing rax module to honor the wait (and wait_timeout)
parameters on delete operations. This patch removes existing logic in favor of
the built-in pyrax.utils.wait_until method.
2013-09-20 13:49:39 -04:00
asmajlovic
686a6f5557
Comparison data type mismatch corrected
2013-08-13 09:28:53 -05:00
Jesse Keating
e4a83767a8
Update rax to sync with rax_clb_nodes
...
Both modules dealing with rax resources should use the same arguments
and environmental variables. The author of rax_clb_nodes did some things
better so sync rax with that effort.
2013-08-05 15:53:02 -07:00
Nicholas Kuechler
50f8a2ffc8
Change equals to colon
2013-07-30 20:08:22 -05:00
Nicholas Kuechler
d49220b830
Fixed a problem on my side. Was doing weird things.
2013-07-30 20:07:20 -05:00
Nicholas Kuechler
b9a67d0adb
Remove tailing bracket
2013-07-30 18:01:34 -05:00
Nicholas Kuechler
a89007ec8d
Update example to be more yaml friendly
2013-07-27 13:33:30 -05:00
Nicholas Kuechler
2eb208cfd9
Add example with multiple files.
2013-07-23 23:09:02 -05:00
Nicholas Kuechler
e76c27d89b
Update docs and example for injecting files.
2013-07-23 22:49:17 -05:00
Andrew Todd
bd9d3d4fdd
Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable.
2013-07-17 16:37:04 -04:00
rstrox
67b86c21a5
Include identity_type required by Pyrax 1.4
2013-06-27 13:50:36 -05:00
Jan-Piet Mens
98c1423269
Docs: consistently format playbook EXAMPLES
2013-06-17 08:53:46 +02:00
Jan-Piet Mens
3404a0fc16
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
...
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
Added deprecation warning to moduledev.rst and remove deprecated example from it
Fixed up a few typos and uppercased some acronyms.
add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00