Commit Graph

7375 Commits (b2ace272a538bf6cd9cc9c2f3a43120438d55b2a)
 

Author SHA1 Message Date
Brian Coca 7b21bc7144 Merge pull request #2238 from dagnello/server_meta_string
Adding string support to metadata argument
9 years ago
Brian Coca 4908d4a019 Merge pull request #2235 from tdbabas/devel
Fixing issue with subversion module whereby the module was reporting local modifications being present when externals were being used
9 years ago
Brian Coca 3e22a45401 Merge pull request #2217 from wimnat/feature/issue-868
Add region to doc and handle missing region parameter
9 years ago
Brian Coca 6e54a5edc5 Merge pull request #2077 from dagnello/subnet_list_state
Adding os_subnets_facts module
9 years ago
whiter 6fc58855b9 Allow iam_policy to maintain idempotentce if the role referenced has been removed 9 years ago
whiter 5e61f0882b Add region to doc and handle missing region parameter 9 years ago
Rob 3360cef024 Update ec2_vol.py
Changed=true now reported on new volume.
Only detach volume when instance is specified as 'None' or '' rather than whenever instance is not specified at all
Fix regression caused by 6b27cdc where by no volume is created if id or Name is not supplied
Remove unnecessary empty aliases
Corrected example to use acceptable parameter for ions
Added exception handling to get_all_instances call
Moved the attachment state validation code to attach_volume function rather than create_volume function
Refactored attach_volume and detach_volume so that changed state can be passed back to call
Created get_volume_info function so that state=present and state=list can return the same data.  Also added instance_id as a returned value in attachment_set dict
Updated aws connection method so that boto profile can be used
9 years ago
Brian Coca f35ab5faca Merge pull request #2106 from dagnello/port_module
Adding os_port Module to openstack ansible modules
9 years ago
Val Komarov 986d4064e9 Remove duplicate logic 9 years ago
Brian Coca eb30416d71 Merge pull request #2114 from matiasdecarli/devel
Update Azure Module to work with azure.py=1.0.1
9 years ago
Brian Coca 4c14e6267f Merge pull request #2258 from SamYaple/fix_docker_bug_2257
Don't assume ExposedPorts exists (bug #2257)
9 years ago
Chris Church 84b1a1a2b7 Merge pull request #2083 from cchurch/win_lineinfile_fixes
Fix win_lineinfile to pass integration tests
9 years ago
Toshio Kuratomi 4c722dd99a Merge pull request #2268 from AdamWill/pull-18-stream
fix #2043: strip empty dict from end of 'pull' stream
9 years ago
Adam Williamson 64b8596250 fix #2043: strip empty dict from end of 'pull' stream
When pulling an image using Docker 1.8, it seems the output
JSON stream has an empty dict at the very end. This causes
ansible to fail when pulling an image, as it's expecting a
status message in that dict which it uses to determine whether
it had to download the image or not. As a bit of an ugly hack
for that which remains backward compatible, try the last item
in the stream, and if it's an empty dict, take the last-but-one
item instead.

The strip() is needed as the exact value appears to be '{}/r/n';
we could just match that, but it seems like the kind of thing
where maybe it'd happen to just be '{}/n' or '{}' or something
in some cases, so let's just use strip() in case.
9 years ago
Brian Coca 95b10c9fdd Merge pull request #2256 from jhawkesworth/fix_amc_2147
Fix for ansible-modules-core 2147
9 years ago
Sam Yaple f15d285514 Catch the second occurance of ExposedPorts as well 9 years ago
Sam Yaple 9db5ac8e45 Don't assume ExposedPorts exists (bug #2257)
A recent change [1] in docker between v1.8.2 and v1.8.3 changed what
is returned in the json when inspecting an image. Five variables which
could have been expected before will now be omited when empty. Only
one of those variables is being addressed in the docker, ExposedPorts.

Unfortunately there was also no API version change on this so this
can't be easily corrected with pinning the API to the older version.

This does a get() which will return None if the variable is not in the
dict formed from the json that was returned. Everything else works the
same way.

[1] 9098628b29
9 years ago
= 833bf77be1 Fix for ansible modules core 2147 9 years ago
Brian Coca 657363e011 Merge pull request #2252 from perzizzle/windows_ansible_date_time
Add ansible_date_time to windows facts
9 years ago
Brian Coca 6f9ff0b914 Merge pull request #2248 from Constantin07/devel
ec2_vol: added deleteOnTermination in the output of list option
9 years ago
Brian Coca da1a317f7d Merge pull request #2139 from justnom/devel
Adding additional Docker log drivers.
9 years ago
Brian Coca 84d42b2b31 Merge pull request #2212 from awiddersheim/fix/detached_head_detection
Fix detached head detection in is_not_a_branch()
9 years ago
Brian Coca f1fc76d732 Merge pull request #2214 from fperks/fix-ec2-error-on-instance-status-change
Fix error on ec2 status change
9 years ago
Brian Coca 547cafe278 Merge pull request #2198 from hutchic/patch-2
make a text link into a actual hyperlink
9 years ago
Michael Perzel 6615e618d9 Added date, year and month attributes 9 years ago
Michael Perzel 785ebe2684 Add ansible_date_time to windows facts 9 years ago
Adrian Bridgett cc821492d3 remove unneeded aliases 9 years ago
Constantin Bugneac 83291dbefc Added deleteOnTermination in the output of list option 9 years ago
James Cammarata 92d25017ed Merge pull request #2243 from amenonsen/ec2-init
Fix v2 breakage: Add missing variable initializations
9 years ago
Abhijit Menon-Sen ebd8b12e15 Add missing variable initializations
Without this, «ec2: state=stopped instance_ids=…» would fail with a
traceback like this:

    if inst.get_attribute('sourceDestCheck')['sourceDestCheck'] != source_dest_check:
NameError: global name 'source_dest_check' is not defined
9 years ago
Brian Coca f707a711cd doc fixes 9 years ago
dagnello 83a9f293fd Adding string support to metadata argument
This patch adds support to setting metadata key/value through a string
argument.  Variables can now be used for both the metadata key and
value.

example:
meta: "{{ var1 }}:SomeValue,key:{{ var2 }}"
9 years ago
Brian Coca 0307e3e649 Merge pull request #2209 from gekmihesg/devel
Support sysctl on OpenBSD
9 years ago
Brian Coca 17602d6525 Merge pull request #2234 from fvant/patch-8
Fix ec2_asg.py to handle ELB without instances
9 years ago
Tim Barnes f0ac28490d fixing issue with subversion module whereby the module was reporting local modifications being present when externals were being used 9 years ago
Frank van Tol 2c24d0482b Update ec2_asg.py 9 years ago
Brian Coca 79e253053a Merge pull request #2229 from axilleas/cron_add_missing_doc
[cron] Add missing documentation: cron_file requires user to be set
9 years ago
Toshio Kuratomi 01dcee98d2 Fix for state=latest with wildcard or virtual provide package names 9 years ago
Achilleas Pipinellis 1499288c64 Add missing documentation: cron_file requires user to be set 9 years ago
Adrian Bridgett 686ceb81d7 add idle_timeout support 9 years ago
Brian Coca 5f1f1b2904 Merge pull request #2216 from wimnat/feature/revert-1906
Set default of dimensions parameter to be empty dict
9 years ago
Rob 5a6599d70d Move import statements for easier debugging (correct line numbers) 9 years ago
Brian Coca 9eb0c178ec Merge pull request #725 from robbwagoner/cloudformation-resources
module cloudformation: include a CFN stack's resources in the result
9 years ago
Brian Coca 85570152a7 Merge pull request #1626 from kmadac/fixed-digital-ocean-domain-MX-Origin-Error
Fixed bug, when MX records pointed to ORIGIN(@) caused unintentional …
9 years ago
Brian Coca 692781c936 Merge pull request #2070 from fvant/patch-7
We are copying from S3,  the bucket is the source, not the target.
9 years ago
Brian Coca 969c4eb493 Merge pull request #2078 from abithap/devel
os_server: Adding support to accept 'n' nic args as a string containi…
9 years ago
Brian Coca 7af7ef2ef7 Merge pull request #2086 from wimnat/feature/issue-2085
Remove 'str' type so that json is properly quoted
9 years ago
Brian Coca af82f4b23e Merge pull request #2105 from dagnello/network_list_state
Adding os_networks_facts module
9 years ago
Brian Coca 00a18c2a6e Merge pull request #2110 from dagnello/os_image_facts
Adding new image facts module
9 years ago
Brian Coca cb203420ed added version added to new rax_cdb choices 9 years ago