Commit Graph

22 Commits (42dab7bed8d8cebbb7beeaa38fc5de512d3a11e1)

Author SHA1 Message Date
jctanner 4cd821e9d9 Merge pull request #5404 from sivel/rax-improvements
rax module: improvements
11 years ago
Troy C ff1570ea31 catch exposed cs.exceptions instead of novaclient 11 years ago
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.
11 years ago
Matt Martz 6dbd7d0d8d Add ansible.module_utils.rax 11 years ago
Matt Martz 0aa71a19ab Refactor rax module 11 years ago
Michael DeHaan a3df406554 Add note about feature being new in 1.4 11 years ago
Constantine Peresypkin c2eef4d139 add support for disk_config option to cloud/rax module 11 years ago
Michael DeHaan beae21dd40 Remove examples of module antipattern of setting the choices array for boolean types. 11 years ago
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.
11 years ago
asmajlovic 686a6f5557 Comparison data type mismatch corrected 11 years ago
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.
12 years ago
Nicholas Kuechler 50f8a2ffc8 Change equals to colon 12 years ago
Nicholas Kuechler d49220b830 Fixed a problem on my side. Was doing weird things. 12 years ago
Nicholas Kuechler b9a67d0adb Remove tailing bracket 12 years ago
Nicholas Kuechler a89007ec8d Update example to be more yaml friendly 12 years ago
Nicholas Kuechler 2eb208cfd9 Add example with multiple files. 12 years ago
Nicholas Kuechler e76c27d89b Update docs and example for injecting files. 12 years ago
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. 12 years ago
rstrox 67b86c21a5 Include identity_type required by Pyrax 1.4 12 years ago
Jan-Piet Mens 98c1423269 Docs: consistently format playbook EXAMPLES 12 years ago
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
12 years ago
Michael DeHaan cd97a4cb14 Allow modules to be categorized, and also sort them when generating the documentation. 12 years ago