Commit Graph

39 Commits (4e6685d77297a85565650abd630e6cda536643bb)

Author SHA1 Message Date
James Cammarata 8753849959 Merge pull request #7477 from sivel/rax-user-data
rax module: Support config_drive and user_data
10 years ago
James Cammarata 609fd2e993 Merge branch 'rax-meta' of https://github.com/sivel/ansible into sivel-rax-meta 11 years ago
Matt Martz 7dd5b731d2 Mention that user_data can be a file path or a string 11 years ago
Matt Martz 70881d5489 Switch functions over to kwargs to make it easier to manage in the future 11 years ago
Matt Martz 4ca7840861 Add user_data and config_drive support 11 years ago
Matt Martz 84b1f21617 Add rax_meta module
Also update rax to mirror meta value normalization from rax_meta
11 years ago
Matt Martz 5eace5f718 Return untouhced servers with exact_count 11 years ago
Matt Martz 37f096a6bb 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
11 years ago
Matt Martz 7b5f89ec7c Use PluginLoader for module docs fragments 11 years ago
Matt Martz bb6f7a267a Add support for shared module documentation fragments 11 years ago
Matt Martz e093b216ff 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.
11 years ago
Richard C Isaacson 86adb60a82 Bulk update of choices=BOOLEANS to type='bool' 11 years ago
jctanner 1277b45b3c Merge pull request #5941 from sivel/rax-name-search-opts
rax module: Use regex start and end of string with name base filters
11 years ago
Matt Martz 8095aa6584 Don't set a default disk_config. Defaulting to 'auto', causes issues with new images 11 years ago
Matt Martz bd3c7c3efa The name parameter for search_opts is a regex string, so make sure we include start and end of string characters 11 years ago
Matt Martz 07c76d7ec9 Update rax module DOCUMENTATION with new auth options 11 years ago
Matt Martz 89fbc64b60 Fix regex match, the printf match should work with 0 or more numeric padding characters, not 1 or more 11 years ago
jctanner 7520bac8ce Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
11 years ago
Troy C 038d030404 catch exposed cs.exceptions instead of novaclient 11 years ago
Troy C 3007a8af7e 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.
11 years ago
Matt Martz 3f2cbb7583 Add ansible.module_utils.rax 11 years ago
Matt Martz 234a78673b Refactor rax module 11 years ago
Michael DeHaan b8ec300d4c Add note about feature being new in 1.4 11 years ago
Constantine Peresypkin 499a2fe456 add support for disk_config option to cloud/rax module 11 years ago
Michael DeHaan 119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
James Laska 03252e1d30 [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.
11 years ago
asmajlovic 8f45b77d30 Comparison data type mismatch corrected 11 years ago
Jesse Keating 8706886597 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.
11 years ago
Nicholas Kuechler fcb2295847 Change equals to colon 11 years ago
Nicholas Kuechler 2167be8fe9 Fixed a problem on my side. Was doing weird things. 11 years ago
Nicholas Kuechler cac79faf35 Remove tailing bracket 11 years ago
Nicholas Kuechler e4d0c7b0ce Update example to be more yaml friendly 11 years ago
Nicholas Kuechler b8edbd0c0e Add example with multiple files. 11 years ago
Nicholas Kuechler 72238889c3 Update docs and example for injecting files. 11 years ago
Andrew Todd e477d993dd Changed shebangs that use /usr/bin/env to use /usr/bin/python and therefore be compatible with the ansible_python_interpreter variable. 11 years ago
rstrox e836e5789e Include identity_type required by Pyrax 1.4 12 years ago
Jan-Piet Mens 30d641094b Docs: consistently format playbook EXAMPLES 12 years ago
Jan-Piet Mens 5c69918d53 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
12 years ago
Michael DeHaan 391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago