Commit Graph

23619 Commits (38d71b9eef98a55601dbab48cde48734bd458af1)
 

Author SHA1 Message Date
David Shrewsbury f6d6895ce9 Add purge option to os_floating_ip module
Add the ability to completely delete a floating IP from the pool
when disassociating it from a server. When state is absent and
purge is true, the IP will be completely deleted. The default
keeps the current behavior, which is to only disassociate the IP
from the server.
8 years ago
Lee H 8e84ba71ae - fix check_mode test to avoid errors
- correct test mode check to ensure it returns and doesnt apply changes
  (via jmainguy)
8 years ago
David Shrewsbury aed44e8886 Fix OpenStack module failure output
The exception message, when shade fails, will contain much more
specific information about the failure if the exception is treated
as a string. The 'message' attribute alone is usually not helpful.
8 years ago
Ben Visser 18ff22348a fixed grammatical issue in iam.py. exit -> exist. 8 years ago
Hiroaki Nakamura f2246deaf9 Doc: Add NOTE about hostname modules does not modify /etc/hosts 8 years ago
Evgeny Vereshchagin 8f23e54a80 apt-key: convert ids to the 'short' format
Fixes:
$ ansible all -m apt_key -a 'state=present id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6 keyserver=hkp://keyserver.ubuntu.com:80' --sudo
127.0.0.1 | SUCCESS => {
    "changed": true
}

$ ansible all -m apt_key -a 'state=absent id=7A82B743B9B8E46F12C733FA4759FA960E27C0A6' --sudo
127.0.0.1 | SUCCESS => {
    "changed": false
}

$ apt-key export 7A82B743B9B8E46F12C733FA4759FA960E27C0A6
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
...

See https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1481871
8 years ago
techraf 7d09792758 Added 'backup' parameter to get_url module 8 years ago
Yoichi Imai b9b08666f5 Fix iam_policy pdoc variable 8 years ago
Thomas Quinot ef3308159f Allow cron_file to be an absolute path
Support specifying an absolute path (typically /etc/crontab) rather than
a path relative to /etc/cron.d, to allow modifying the main system crontab.
Particularly useful for target systems that have /etc/crontab but no
/etc/cron.d.
8 years ago
Michael Scherer 519e699b98 Split a shell snippet in 2 to avoid using use_unsafe_shell=True
Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to toroughly inspect for a security audit.

In this case, the '&&' can be replaced by doing 2 calls to run_command.
8 years ago
Jason Paige a2f4d46c9b updating choices for rds parameter engines 8 years ago
Aaron Kurtz e3782689bc Remove 'cache_table' from required params
Starting in Django 1.7, the createcachetable command looks for cache
table names in the CACHES settings dictionary, so cache_table is no
longer required, but is still allowed.
8 years ago
Bermudez, Jaime efbdea909e Simplify logic around "present" state and skip dupes. If the policy doesn't exist or the policy document doesn't match or if we're not skipping dupes, then we go ahead and update the respective user/group/role policy. 8 years ago
daniel-sc f654bd45f8 Allowing specifying ip by address 8 years ago
daniel-sc 40565b7293 Allowing to specify specific external ip for gce instances 8 years ago
Albert Mikaelyan a61095b0b1 Update yum.py 8 years ago
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`.
8 years ago
bobgroves 18d4a33891 Makes rax_dns_record override default to true 8 years ago
bobgroves 65697dea14 Adds overwrite option to rax_dns_record 8 years ago
Jordan Bach b6213ffa80 git: set remote branch before switching versions when using depth argument 8 years ago
Luca Berruti 0673a4919f cron module: add enviroment variables management 8 years ago
Henrique Rodrigues c2e62ed9a9 Fix misspelling of the word 'certificate' 8 years ago
Brian Coca b25c2a4261 added note about awslogs version added 8 years ago
Brian Coca 6e73c61298 added version_added 8 years ago
Constantin07 f36c567022 Added delete_on_termination option for volume attachment 8 years ago
Matt Ferrante 2dd53a8d91 updated s3 module documentation 8 years ago
jefferson fermo 9d9daeb73c add awslog option in docker log driver. this option is available starting with ansible 2.1 8 years ago
Brian Coca 4c6515e299 reverse order of cron commands
does not affect linux but fixes issue with busybox caring about order
fixes #2807
8 years ago
nitzmahone 821fb6c0ab fix win_get_url var renames ala xpicio fix PR #2378
reimplements #2378 sans formatting merge conflicts
8 years ago
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".
8 years ago
Brian Coca f50fbe9dd2 updated s3 docs to reflect mode choices
fixes #2318
8 years ago
autotune 90631aef1b 1113 fix ec2 subnet tags 8 years ago
nitzmahone fef6e5102e fix version_added on win_msi wait arg 8 years ago
Brian Coca a5e4969dc4 updated version_added 8 years ago
Joost Cassee 267dcc8eb6 Add wait_timeout option to route53 module
This option is used to make sure the module does not block forever.
8 years ago
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.
8 years ago
Mark van Driel a24cdbe15e Fixed "invalid privileges string: set expected at most 1 arguments, got 2" 8 years ago
Jonathan Mainguy e9a752f769 add ansi support 8 years ago
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.
8 years ago
Matt Clay d861329d5e Added filename option to apt_repository module. 8 years ago
Hillel Antonov 8d5cebd597 Adding gathering environment variables to gather facts on Windows making similar in functionality to gather facts on Linux 8 years ago
Hans-Joachim Kliemeck 1354ef0285 fix problem with file content and high cpu/out of memory errors 8 years ago
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.
8 years ago
Marios Andreopoulos 1ae765d61f fix: do not set scopes account to service account used for instance creation 8 years ago
Hans-Joachim Kliemeck 41ab7f8aed do not move item, instead copy item because acl will be kept 8 years ago
Alexey Wasilyev 4d30ae313d Add cpu_shares option for docker module 8 years ago
krdlab c680611fe4 Fix `self.changed` value in `ElbManager` (ec2_elb_lb) 8 years ago
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.
8 years ago
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.
8 years ago
Corwin Brown c075c000c8 Adding Facter 8 years ago