Commit graph

9719 commits

Author SHA1 Message Date
Albert Mikaelyan
a61095b0b1 Update yum.py 2016-12-08 11:23:59 -05:00
Vladimir Mihailenco
2bdfea4a43 rackspace: set headers when uploading files to CF.
Otherwise CDN (Akamai) downloads file without the headers. The sequence
is following:
1. Ansible uploads file to CF.
2. Akamai downloads the file and caches it in CDN.
3. Ansible sets headers.

As a result Akamai serves file without headers.

This is backwards incompatible change, because headers keys are not
prefixed with `x-object-meta-`. Which allows user to set headers like
`Access-Control-Allow-Origin`.
2016-12-08 11:23:59 -05:00
bobgroves
18d4a33891 Makes rax_dns_record override default to true 2016-12-08 11:23:59 -05:00
bobgroves
65697dea14 Adds overwrite option to rax_dns_record 2016-12-08 11:23:59 -05:00
Jordan Bach
b6213ffa80 git: set remote branch before switching versions when using depth argument 2016-12-08 11:23:59 -05:00
Luca Berruti
0673a4919f cron module: add enviroment variables management 2016-12-08 11:23:59 -05:00
Henrique Rodrigues
c2e62ed9a9 Fix misspelling of the word 'certificate' 2016-12-08 11:23:59 -05:00
Brian Coca
b25c2a4261 added note about awslogs version added 2016-12-08 11:23:59 -05:00
Brian Coca
6e73c61298 added version_added 2016-12-08 11:23:59 -05:00
Constantin07
f36c567022 Added delete_on_termination option for volume attachment 2016-12-08 11:23:59 -05:00
Matt Ferrante
2dd53a8d91 updated s3 module documentation 2016-12-08 11:23:59 -05:00
jefferson fermo
9d9daeb73c add awslog option in docker log driver. this option is available starting with ansible 2.1 2016-12-08 11:23:59 -05:00
Brian Coca
4c6515e299 reverse order of cron commands
does not affect linux but fixes issue with busybox caring about order
fixes #2807
2016-12-08 11:23:58 -05:00
nitzmahone
821fb6c0ab fix win_get_url var renames ala xpicio fix PR #2378
reimplements #2378 sans formatting merge conflicts
2016-12-08 11:23:58 -05:00
Jeroen Seegers
7be08b00b0 Update cron.py
Minor update to documentation for the cron module to reflect the required "name" parameter when the value of "state" is "absent".
2016-12-08 11:23:58 -05:00
Brian Coca
f50fbe9dd2 updated s3 docs to reflect mode choices
fixes #2318
2016-12-08 11:23:58 -05:00
autotune
90631aef1b 1113 fix ec2 subnet tags 2016-12-08 11:23:58 -05:00
nitzmahone
fef6e5102e fix version_added on win_msi wait arg 2016-12-08 11:23:58 -05:00
Brian Coca
a5e4969dc4 updated version_added 2016-12-08 11:23:58 -05:00
Joost Cassee
267dcc8eb6 Add wait_timeout option to route53 module
This option is used to make sure the module does not block forever.
2016-12-08 11:23:58 -05:00
Joost Cassee
e91bcba078 Add wait option to route53 module
This option makes the module wait for the changes to replicate to all
Amazon DNS servers.
2016-12-08 11:23:58 -05:00
Mark van Driel
a24cdbe15e Fixed "invalid privileges string: set expected at most 1 arguments, got 2" 2016-12-08 11:23:58 -05:00
Jonathan Mainguy
e9a752f769 add ansi support 2016-12-08 11:23:58 -05:00
Ben Visser
cfed7e11d8 two choices for cache engine. adding them.
revert spacing

undoing quotes around default. will do another pull requests

Making documentation more explicit for elasticache engine choices.
2016-12-08 11:23:58 -05:00
Matt Clay
d861329d5e Added filename option to apt_repository module. 2016-12-08 11:23:58 -05:00
Hillel Antonov
8d5cebd597 Adding gathering environment variables to gather facts on Windows making similar in functionality to gather facts on Linux 2016-12-08 11:23:58 -05:00
Hans-Joachim Kliemeck
1354ef0285 fix problem with file content and high cpu/out of memory errors 2016-12-08 11:23:58 -05:00
Timothy R. Chavez
2ef913a288 Pass network argument to add_ips_to_server
The `network` argument needs to be passed through `add_ips_to_server`
so that the default value can be properly overridden from ansible.
2016-12-08 11:23:58 -05:00
Marios Andreopoulos
1ae765d61f fix: do not set scopes account to service account used for instance creation 2016-12-08 11:23:58 -05:00
Hans-Joachim Kliemeck
41ab7f8aed do not move item, instead copy item because acl will be kept 2016-12-08 11:23:57 -05:00
Alexey Wasilyev
4d30ae313d Add cpu_shares option for docker module 2016-12-08 11:23:57 -05:00
krdlab
c680611fe4 Fix self.changed value in ElbManager (ec2_elb_lb) 2016-12-08 11:23:57 -05:00
Jordi Gutiérrez Hermoso
4682ea1c3c hg: discard changes without changing the current revision
The command `hg up -C` by default moves to the latest revision on the
current branch. The `discard` function was trying to update to a
different branch, in case it was provided, by passing a `-r REVISION`
argument. Not only is this not the intended effect of the `discard`
function, but this also could update to a different branch that hasn't
been pulled yet, which is how we were experiencing trouble.

Instead, we unconditionally do `hg up -C -r .` to "update" to the
current revision (i.e. to "."), while `-C/--clean`ing the current
directory. This is similar to `hg revert --all`, except that it also
undoes the merge state of the working directory, in case there was
any.
2016-12-08 11:23:57 -05:00
Will Rouesnel
b565da78b3 docker: Fix state=reloaded to detect default LoggingDriver for docker
Previously the logging module hard coded the default logging driver. This means
if the docker daemon is started with a different logging driver, the ansible
module would continually restart it when run.

This fix adds a call to docker.Client.info(), which is inspected if a logging
driver is not supplied in the playbook, and the container only restarted if
the logging driver applied differs from the configured default.

In usage, this has solved issues with using alternative logging drivers.
2016-12-08 11:23:57 -05:00
Corwin Brown
c075c000c8 Adding Facter 2016-12-08 11:23:57 -05:00
Brian Coca
351de21ee7 made port default depending on db engine 2016-12-08 11:23:57 -05:00
Mark van Driel
d67f2eb104 Fixes require ssl in combination with other privileges
Fixes require ssl in combination with grant option

Refactoring: code cleanup to make it easier to understand

Code rewritten inspired by @willthames

Added WITH GRANT OPTION as exception; when only REQUIRESSL and/or GRANT are specified we have to add USAGE
2016-12-08 11:23:57 -05:00
Phil
3781c5ccb0 uses get-attr and fixes file path issues by escaping quotes around path 2016-12-08 11:23:57 -05:00
schwartzmx
5ff4d219e0 updates win_msi to allow install to wait - adds additional wait param - updates to use Start-Process to allow -Wait - this will wait for install/uninstall to complete before continue 2016-12-08 11:23:57 -05:00
Jan Duzinkiewicz
9c6db69827 forcing git fetch if sha1 are equal between repos but branch exists only at remote
Add an explanatory comment to the code
2016-12-08 11:23:57 -05:00
Brian Coca
3afaa2fef4 really fixed the doc formatting 2016-12-08 11:23:57 -05:00
Brian Coca
1fe3387971 crrected version added 2016-12-08 11:23:57 -05:00
Brian Coca
e2062c44d9 made note about choice availability in ansible ver 2016-12-08 11:23:57 -05:00
Brian Coca
0ca9356675 added versions note in description for new choice 2016-12-08 11:23:56 -05:00
Brian Coca
f5ddbd5c49 fixed win_feature docs
added version_added for source and fixed some yaml parsing
2016-12-08 11:23:56 -05:00
Pavel Derendyaev
3129154a2a Add "timeout" option to Docker module 2016-12-08 11:23:56 -05:00
Trond Hindenes
abcae97422 update doc 2016-12-08 11:23:56 -05:00
Trond Hindenes
37a24cc1b1 bugfix win_feature.ps1 2016-12-08 11:23:56 -05:00
Trond Hindenes
21b79123a4 Add source as optional parameter 2016-12-08 11:23:56 -05:00
KIKUCHI Koichiro
2974358b2b Add check_mode support to mysql_user. 2016-12-08 11:23:56 -05:00