Commit graph

166 commits

Author SHA1 Message Date
Michael Scherer
3f158a4688 image_id is not required to delete a vm from openstack
Since deletion do not check the type of image or anything,
and since that's tedious to keep track of the image_id and
just adding noise to add image_id for nothing, this commit
just relax the requirement.
2013-08-17 17:56:19 +02:00
lwade
eaac295fb2 Basic module to tag resources in EC2. 2013-08-13 12:55:06 -05:00
asmajlovic
8f45b77d30 Comparison data type mismatch corrected 2013-08-13 09:28:53 -05:00
Michael DeHaan
4e5feb6322 Merge pull request #3763 from j2sol/rax-updates
Update rax to sync with rax_clb_nodes
2013-08-11 13:37:25 -07:00
Michael DeHaan
146bbfecc5 Smite tabs in whitespace. 2013-08-10 17:58:03 -04:00
Michael Scherer
6da44ef002 Fix traceback when openstack do not have OS-EXT-IPS:type attached to address
failed: [127.0.0.1] => {"failed": true, "parsed": false}
    invalid output was: Traceback (most recent call last):
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 1176, in <module>
        main()
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 239, in main
        _get_server_state(module, nova)
      File "/tmp/ansible-1376083321.99-111209413777779/nova_compute", line 198, in _get_server_state
        private = [ x['addr'] for x in getattr(server, 'addresses').itervalues().next() if x['OS-EXT-IPS:type'] == 'fixed']
    KeyError: 'OS-EXT-IPS:type'

This extension was added less than 6 month ago, and so cannot be used on a release
older than Grizzly ( like Folsom ).

Commit of the extension : https://review.openstack.org/#/c/21453/

See https://wiki.openstack.org/wiki/ReleaseNotes/Grizzly#Key_New_Features_2
2013-08-09 23:26:12 +02:00
Michael DeHaan
0b4e145709 Merge pull request #3772 from lorin/s3-docpatch
Minor doc update to s3 & ec2 modules
2013-08-06 13:30:20 -07:00
Michael DeHaan
0edcbdca05 Merge pull request #3709 from lwade/devel
S3folder
2013-08-06 13:01:43 -07:00
Michael DeHaan
4401557455 add version_added attribute to module docs. 2013-08-06 15:54:20 -04:00
Michael DeHaan
14e6bba001 Merge pull request #3741 from podollb/feature_ec2_vol
adding param to the ec2_vol module allowing custom iops setting when creating EBS volume
2013-08-06 12:53:35 -07:00
Lorin Hochstein
729c03ed88 Minor doc update to s3 & ec2 modules
Adds some additional docs about the module parameters for s3
and ec2 modules.
2013-08-06 12:23:25 -04:00
Michael DeHaan
5f18a53530 Fixup docs formatting. 2013-08-06 10:53:56 -04:00
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.
2013-08-05 15:53:02 -07:00
Michael DeHaan
dab48fa3ed Slight docs tweak and remove redundant sys.exit call 2013-08-03 14:25:27 -04:00
Michael DeHaan
7e6729e821 Merge branch 'devel' of git://github.com/peterkh/ansible into devel 2013-08-03 14:24:47 -04:00
Michael DeHaan
31ccf1dfda Merge pull request #3748 from lorin/ec2-idempotency
Add description to id parameter of ec2 module
2013-08-03 10:31:07 -07:00
Lorin Hochstein
631dc8b7b1 Add description to id parameter of ec2 module
Add some details in the docs about how the id parameter of the ec2
module behaves.
2013-08-02 23:01:17 -04:00
Lorin Hochstein
3647d112f8 ec2: Removed unused line
Remove the reference to the unused "termination_list" parameter
in the ec2 module. The instance_ids parameter is the one that contains
the list of instance ids to be terminated.
2013-08-02 22:35:24 -04:00
Lorin Hochstein
0c1f6b4f51 ec2: check for changes
In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746
2013-08-02 22:23:41 -04:00
Ben Podoll
1410df43de adding param to allow for specifying custom iops setting when creating an EBS volume 2013-08-02 11:31:31 -05:00
Michael DeHaan
16d25f4115 Merge pull request #3651 from nicholaskuechler/rax-update-files-docs
Update docs and example for injecting files.
2013-08-01 17:32:15 -07:00
Michael DeHaan
be7e29b2c2 Merge pull request #3728 from bpennypacker/ec2_elb_updates
Added optional region parameter.  Fail if you specify an ELB that doesn'...
2013-08-01 17:20:45 -07:00
Michael DeHaan
422233bc91 Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
2013-08-01 17:09:44 -07:00
Bruce Pennypacker
8171b7ba48 Added optional region parameter. Fail if you specify an ELB that doesn't exist.
Boto blindly assumes the us-east-1 region if you don't hardcode a
region in it's config, so you could end up attempting to modify ELB's
in one region from a totally different region.  If a region isn't
specified then default to the region that the module is being run
within rather than the default us-east-1 region since it's a pretty
safe assumption that you intend to work on the ELB's within your
current region.

Also throw an error if a specified ELB instance doesn't exist.  The old
behavior would be to silently succeed with changed=false, so if you had
so much as a typo in the name of your ELB (or were in the wrong region
like my initial testing) you wouldn't get a clear indication that a
problem had occurred.
2013-08-01 16:50:01 -04:00
lwade
f6cb9bce15 Added ability to create virtual directories. 2013-07-31 11:51:57 +01:00
Nicholas Kuechler
fcb2295847 Change equals to colon 2013-07-30 20:08:22 -05:00
Nicholas Kuechler
2167be8fe9 Fixed a problem on my side. Was doing weird things. 2013-07-30 20:07:20 -05:00
Nicholas Kuechler
cac79faf35 Remove tailing bracket 2013-07-30 18:01:34 -05:00
Nicholas Kuechler
e4d0c7b0ce Update example to be more yaml friendly 2013-07-27 13:33:30 -05:00
Tim Miller
edbac1f14e Fix 'timeout' parameter of glance-image module.
The timeout parameter of glance-image was not being parsed into a
numeric type, causing the following error when specifying timeout:

    msg: Error in creating image: unsupported operand type(s) for +: 'float' and 'str'
2013-07-25 14:54:21 -07:00
Nicholas Kuechler
b8edbd0c0e Add example with multiple files. 2013-07-23 23:09:02 -05:00
Nicholas Kuechler
72238889c3 Update docs and example for injecting files. 2013-07-23 22:49:17 -05:00
Peter Hall
d1369f3d95 Adding getstr mode to download an object into a variable 2013-07-23 11:03:00 +10:00
Ralph Tice
1529a974e1 fixed vpc provisioning / clarified group_id usage 2013-07-22 17:00:13 -05:00
Michael DeHaan
524c7bd791 Remove end of line semicolons. 2013-07-21 11:55:38 -04:00
Michael DeHaan
c5cbb1dc62 Fix route53 module docs version/module name 2013-07-21 11:20:37 -04:00
Michael DeHaan
10f99938b9 Fix YAML doc errors. 2013-07-21 11:15:06 -04:00
Michael DeHaan
5fe1f03885 Merge pull request #3413 from evan82/devel
Added module for baking EC2 AMIs
2013-07-21 07:53:54 -07:00
Michael DeHaan
44f55d72b6 Merge pull request #3574 from bpennypacker/route53
AWS route53 module
2013-07-21 06:54:14 -07:00
Michael DeHaan
5bb0189296 Merge pull request #3440 from lwade/s3mode
Rewritten s3 module to allow for additional modes of operation.
2013-07-20 09:26:03 -07:00
Michael DeHaan
18d4b66b26 Merge pull request #3487 from djoreilly/ks-auth-error
Keystone_user module: fix authentication needs tenant_name too
2013-07-20 09:05:03 -07:00
Michael DeHaan
d4dcf18751 Merge pull request #3502 from bryanlarsen/digital_ocean_no_ip
digital_ocean: don't run update_attr if wait=no
2013-07-20 09:04:31 -07:00
Michael DeHaan
2c965476ed Merge pull request #3550 from lwade/ec2role
Added IAM role support
2013-07-20 08:55:45 -07:00
Michael DeHaan
d6449711ae Revert "Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1"
This reverts commit 1264a5b47d.
2013-07-20 10:48:39 -04:00
Ian O Connell
1264a5b47d Added an elb_region parameter for interacting with the ec2 elastic load balancer to work with regions other than us-east-1 2013-07-19 18:21:51 -07:00
Michael DeHaan
1ff8c78f26 Removing legacy variable usage. 2013-07-19 09:42:22 -04:00
Michael DeHaan
764504b578 Legacy variable usage removed. 2013-07-19 09:40:53 -04:00
Bruce Pennypacker
cf3f9380d0 added AAAA example 2013-07-18 17:12:14 -04:00
Bruce Pennypacker
e9de70668b fixed doc typos 2013-07-18 15:41:44 -04:00
Bruce Pennypacker
a5e9057752 AWS route53 module 2013-07-18 13:45:00 -04:00