Commit Graph

23291 Commits (90650256ef597fe476484be9e7c28035db097d46)
 

Author SHA1 Message Date
Stewart Rutledge 2f79e2c01c Added support for insecure parameter 8 years ago
Toshio Kuratomi 697980d7cc Add example of using non-posix shellisms to raw and shell
Fixes #14262
8 years ago
Matt Clay c87f70429b Make modify_user honor check mode on FreeBSD. 8 years ago
Matt Clay b02eb232b0 Show error if python-apt is absent in check mode.
Previously this would fail with an exception which
did not clearly explain the reason for the failure.
8 years ago
Toshio Kuratomi f6aa1ff9a4 Remove duplicate documentation fields 8 years ago
Toshio Kuratomi ceba43e701 Better error message when rsync nad ssh aren't present where synchronize is run
Fixes https://github.com/ansible/ansible/issues/9305
8 years ago
Tobias Wolf 25ccb98d49 Add custom or 'prepared' diff field to synchronize module
This PR depends on pull requeest ansible/ansible#14105

rsync has a custom diff output that cannot easily be expressed as
`/usr/bin/diff before after`
8 years ago
Shawn Silva 12be401c11 The parameters 'template' and 'template_url' are incorrectly required in all cases.
If the state is 'absent' they should not be required. A few lines below the correct check is already in place.
8 years ago
Michael Scherer 63490709e6 Do not use a shell construct for rhnreg_ks
Since there is no shell escape of the password parameter, a password with
a single quote (or even worst, a single quote and a pipe) could have
unattended consequences. Also, the less we use use_unsafe_shell=True, the
better.
8 years ago
Brian Coca 19b3d43aa5 added missing version_Added 8 years ago
Toshio Kuratomi 457dfb3b4b Add an internal param instructing synchronize to replace localhost with the host that's being ssh'd from 8 years ago
Yair Fried 63a0b99b6a Fix glance_client module
Wrong variable name.
8 years ago
Graham Ullrich 61ac748bad Update django_manage documentation
As of Ansible 2.x, invocation of Django's ```manage.py``` requires a valid "shebang". Additionally, ```manage.py``` must be executable.
The old invocation was hardcoded as ```python manage.py ...``` while the new invocation is ```./manage.py ...```. See [this PR](https://github.com/ansible/ansible-modules-core/pull/1165).
This change allows more flexibility for which Python interpreter is invoked, but breaks existing deployment when ```manage.py``` is not properly configured. This documentation update adds a note explaining the new requirements for ```manage.py```.
8 years ago
Matt Martz 9e686c7294 Add note about precautions of using become with fetch. Addresses https://github.com/ansible/ansible/issues/14064 8 years ago
Toshio Kuratomi b6ff36bed3 Fix documentation build in hostname 8 years ago
Toshio Kuratomi 5e4fe92676 Fix documentation build 8 years ago
Toshio Kuratomi 5f35d0d597 Document that synchronize in 2.0.0.x has broken sudo behaviour.
Part of the changes for #13825
8 years ago
Toshio Kuratomi f4c9c4596f Fix for yum's use of rpm with non English locales
Depends upon https://github.com/ansible/ansible/pull/14025

Fixes https://github.com/ansible/ansible/issues/13996
Fixes https://github.com/ansible/ansible/issues/13975
8 years ago
techraf 896dcd9787 Fixed typo in example playbook 8 years ago
Brian Coca a0204b80dc tabs are bad 8 years ago
Julia Kreger 060e12a2d3 Add wait support to os_ironic_node
Add support for the os_ironic_node module to be capible of waiting
until the baremetal node activation or deactivation has completed.
8 years ago
Tom Bamford 68f76c50d8 Remove explicit region parameter from ec2_ami_find 8 years ago
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