Yap Sok Ann
d77276380f
git: Handle network problem when running `git ls-remote`.
11 years ago
Yap Sok Ann
633438bfbb
git: Always return the before/after revisions, even in check mode.
...
The return values from check mode and non-check mode should match in all cases,
except when a SHA-1 hash is used as version, as there is no way to check if it
is a valid hash using `git ls-remote`.
Also, to accomodate this change, the force flag for the reset function has been
removed so that we can do the checking in main.
11 years ago
Yap Sok Ann
12c4bf51b8
git: Make function get_remote_head usable when cloning.
...
This allows the module to return the before/after revisions in all cases.
11 years ago
Yap Sok Ann
3ff0c6d50d
git: Remove unnecessary return code checking.
...
The functions either return rc=0 or call fail_json themselves.
11 years ago
Yap Sok Ann
201ff02d1f
git: Full length SHA-1 in, full length SHA-1 out.
...
This removes ambiguity at the expense of slight backward incompatibility.
11 years ago
Michael DeHaan
2921775944
Merge pull request #4477 from eggsby/devel
...
supervisorctl: user expansion on config filepath
11 years ago
Thomas Omans
e83eb54d1f
supervisorctl: user expansion on config filepath
11 years ago
Michael Scherer
93a75a4d83
Fix issue 4433, make sure status is a int rather than a string
11 years ago
Harrison Gu
e31927a03e
Fix bug for setting ec2 tags
11 years ago
Andrew Pope
4e56510fab
Fixed broken force=yes on files for directories
11 years ago
James Cammarata
2753a40d5a
Adding 'unique' option to authorized_key module and cleanup
...
A small refactoring of the authorized_key module to accomodate these
changes, plus fixing some things like not rewriting the file on every
new key. These changes bring the original feature for ssh options in-
line with the comments in #3798
Fixes #3785
11 years ago
David Minor
0828d3a316
Add ssh key options parameter to authorized_key module
11 years ago
Michael DeHaan
04744ca706
Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442 .
11 years ago
Andy Kluger
1cc0a8af6d
Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples)
11 years ago
James Tanner
d03211cf6b
Remove all sys.exit calls in the cloud/s3 module
...
Fixes #4458
11 years ago
jctanner
aeccb4c06e
Merge pull request #4457 from mbarrin/devel
...
Fixed crash when s3 bucket did not exist for put operation
11 years ago
Matthew Barrington
e16e77249f
Fixed crash when s3 bucket did not exist for put operation
11 years ago
Jimmy Tang
878fd17bc6
This oneliner change allows apt-key to inherit the http_proxy variable.
...
Before this fix
TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
failed: [134.226.115.202] => {"cmd": ["apt-key", "adv", "--recv-keys", "--keyserver", "keyserver.ubuntu.com", "CFFB779AADC995E4F350A060505D97A41C61B9CD"], "failed": true, "rc": 2}
stderr: gpg: requesting key 1C61B9CD from hkp server keyserver.ubuntu.com
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
After the fix
TASK: [apt_repository repo='ppa:vbernat/haproxy-1.5'] *************************
changed: [134.226.115.202]
11 years ago
Michael DeHaan
c586ed5168
Merge pull request #4342 from pileofrogs/devel
...
mysql_replication switch to DictCursor for compatibility with more mysql server versions
11 years ago
Michael DeHaan
daa005085d
Add missing version_added doc to mysql login port parameter.
11 years ago
James Tanner
74833f730b
Fixes #4312 for older versions of usermod which do not have --append
11 years ago
Michael DeHaan
beae21dd40
Remove examples of module antipattern of setting the choices array for boolean types.
11 years ago
Dylan Martin
280ecaa453
toned down the error message for unconfigured master/slave
11 years ago
Mads Weitling
f5c04e2ff4
Fix Hg.__init__(...) reading value from self.hg_path
11 years ago
Mads Weitling
f2f7060454
Fix 'hg module fails with: AttributeError: 'AnsibleModule' object has no attribute 'parames''
11 years ago
Michael DeHaan
8f896a85bf
Correct typo
11 years ago
Michael DeHaan
a715df1e65
Merge pull request #4423 from localvoid/firewalld-fix_timeout
...
Fix timeout bug in firewalld module
11 years ago
Michael DeHaan
09bb324b2f
Merge pull request #4422 from bennojoy/nova1
...
nova compute fix for instance name regex issue
11 years ago
Boris Kaul
3e85f39ba7
Fix timeout bug in firewalld module
11 years ago
bennojoy
118c59b385
nova compute fix regex in instance name
11 years ago
Jim Kleckner
dc021c9dc5
Add detail to copy module validate argument
...
This clarifies the validate command argument and makes it clear that if
it is present, it must include the '%s' argument for the path to the
temporary file to validate.
11 years ago
Joost Cassee
fad56730e8
Add in a retry loop for route53 requests
...
The route53 api doesn't allow multiple overlapping requests, so if
it is still processing a previous request when the next comes in will
return an error.
Fixes #4085
11 years ago
James Tanner
613b6a2473
#4408 s3: add force alias for overwrite and set True by default
11 years ago
James Tanner
7aa187b413
Remove debug comment from s3 module
11 years ago
James Tanner
4b4b9551d0
4006: return s3 url even if file exists
11 years ago
Javier Candeira
047164adac
fix django_manage migrate command
11 years ago
Michael DeHaan
64349632c7
For values that are booleans in the module doc, the value in the doc section should be a boolean or truthiness
...
is engaged in the documentation formatting. This fixes the update_cache default in the docs to the proper
value of "no"
11 years ago
Michael DeHaan
85d0ea0d5f
Use explicit boolean defaults in apt module to make the code more clear.
11 years ago
James Tanner
4ce2a5f8df
Second attempt at preventing ipv6 route enumeration on EL4 machines
11 years ago
James Tanner
bee6b544f5
Revert "Do not enumerate ipv6 routes in CentOS 4"
...
This reverts commit 5186c408f7
.
11 years ago
James Tanner
879d20cac3
Do not enumerate ipv6 routes in CentOS 4
11 years ago
Michael DeHaan
50d72d89c2
Fix documentation of default value in s3 module. Fixes #4289
11 years ago
Michael DeHaan
c798b064a0
Fix typo, relative to absolute, fixes #4126
11 years ago
Michael DeHaan
d1b9ca4427
Add documentation about how passwords are generated.
11 years ago
James Cammarata
85cd7f7500
Better detection/categorization of ipv4 secondaries/virtual IPs
...
Fixes #3916
Fixes #3478
11 years ago
Michael DeHaan
b73f311f8b
Make group_id be a list.
11 years ago
Michael DeHaan
9771032885
Merge pull request #4389 from MattTheRat/devel
...
addresses #4371 - adds -m to usermod commands
11 years ago
Matt Warren
f40a1e0eae
addresses https://github.com/ansible/ansible/issues/4371 - adding -m to home directory modification
11 years ago
Michael DeHaan
d1a751cfb1
Merge pull request #4368 from sayap/ec2_ami
...
ec2_ami: Account for AWS's "eventual consistency" with AMI creation.
11 years ago
Michael DeHaan
ae698174d6
Merge pull request #4352 from jhoekx/mysql-user-grant
...
Add grant parameter to MySQL user module
11 years ago