Yap Sok Ann
9f8cdac0aa
git: Handle network problem when running git ls-remote
.
2013-10-16 20:37:07 +08:00
Yap Sok Ann
a53e7045a6
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.
2013-10-16 20:37:07 +08:00
Yap Sok Ann
b9558828e8
git: Make function get_remote_head usable when cloning.
...
This allows the module to return the before/after revisions in all cases.
2013-10-16 20:37:07 +08:00
Yap Sok Ann
2ad4d77c9a
git: Remove unnecessary return code checking.
...
The functions either return rc=0 or call fail_json themselves.
2013-10-16 20:37:06 +08:00
Yap Sok Ann
9af05f4d2f
git: Full length SHA-1 in, full length SHA-1 out.
...
This removes ambiguity at the expense of slight backward incompatibility.
2013-10-16 20:37:06 +08:00
Michael DeHaan
a130a8e614
Merge pull request #4477 from eggsby/devel
...
supervisorctl: user expansion on config filepath
2013-10-13 06:22:02 -07:00
Thomas Omans
1dbdd9d6d1
supervisorctl: user expansion on config filepath
2013-10-12 15:57:42 -07:00
Michael Scherer
914226afc3
Fix issue 4433, make sure status is a int rather than a string
2013-10-12 22:10:40 +02:00
Harrison Gu
b5500d9a4d
Fix bug for setting ec2 tags
2013-10-12 20:57:32 +08:00
Andrew Pope
6342046da6
Fixed broken force=yes on files for directories
2013-10-11 18:02:18 -04:00
James Cammarata
49130c688d
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
2013-10-11 16:22:37 -05:00
David Minor
ed7d3f92a0
Add ssh key options parameter to authorized_key module
2013-10-11 16:22:37 -05:00
Michael DeHaan
41aaad69aa
Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442 .
2013-10-11 16:37:10 -04:00
Andy Kluger
f97871e0d9
Corrected docs ("monitor" -> "monitoring" and dissociated monitoring from instance_tags in examples)
2013-10-11 13:32:23 -04:00
James Tanner
d21a0287a2
Remove all sys.exit calls in the cloud/s3 module
...
Fixes #4458
2013-10-11 11:28:47 -04:00
jctanner
861779bb6e
Merge pull request #4457 from mbarrin/devel
...
Fixed crash when s3 bucket did not exist for put operation
2013-10-11 08:18:51 -07:00
Matthew Barrington
ce0bf71245
Fixed crash when s3 bucket did not exist for put operation
2013-10-11 16:01:54 +01:00
Jimmy Tang
a4c8d3ee68
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]
2013-10-11 15:19:52 +01:00
Michael DeHaan
e4036b1bfc
Merge pull request #4342 from pileofrogs/devel
...
mysql_replication switch to DictCursor for compatibility with more mysql server versions
2013-10-11 06:21:22 -07:00
Michael DeHaan
ce79efc34a
Add missing version_added doc to mysql login port parameter.
2013-10-11 09:14:14 -04:00
James Tanner
e3849f1be7
Fixes #4312 for older versions of usermod which do not have --append
2013-10-11 09:10:46 -04:00
Michael DeHaan
119b6d73dd
Remove examples of module antipattern of setting the choices array for boolean types.
2013-10-11 08:45:13 -04:00
Dylan Martin
345329b69f
toned down the error message for unconfigured master/slave
2013-10-10 09:15:47 -07:00
Mads Weitling
ce799b9e0e
Fix Hg.__init__(...) reading value from self.hg_path
2013-10-10 15:46:10 +00:00
Mads Weitling
740a33bcab
Fix 'hg module fails with: AttributeError: 'AnsibleModule' object has no attribute 'parames''
2013-10-10 17:15:04 +02:00
Michael DeHaan
8d16a39af9
Correct typo
2013-10-10 09:15:04 -04:00
Michael DeHaan
35a3419bee
Merge pull request #4423 from localvoid/firewalld-fix_timeout
...
Fix timeout bug in firewalld module
2013-10-10 05:46:18 -07:00
Michael DeHaan
987bf9e451
Merge pull request #4422 from bennojoy/nova1
...
nova compute fix for instance name regex issue
2013-10-10 05:45:40 -07:00
Boris Kaul
194a7dab9f
Fix timeout bug in firewalld module
2013-10-10 13:41:42 +07:00
bennojoy
40565ef236
nova compute fix regex in instance name
2013-10-10 11:44:30 +05:30
Jim Kleckner
f231c86ff3
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.
2013-10-09 18:21:43 -07:00
Joost Cassee
bd10aad71f
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
2013-10-09 12:50:41 -05:00
James Tanner
c679491ece
#4408 s3: add force alias for overwrite and set True by default
2013-10-09 12:56:56 -04:00
James Tanner
c55107fa83
Remove debug comment from s3 module
2013-10-09 12:25:09 -04:00
James Tanner
9c3fb9c2b7
4006: return s3 url even if file exists
2013-10-09 12:12:24 -04:00
Javier Candeira
f8255b538e
fix django_manage migrate command
2013-10-10 00:57:01 +11:00
Michael DeHaan
0e55bd892d
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"
2013-10-09 07:52:23 -04:00
Michael DeHaan
203a4f10cd
Use explicit boolean defaults in apt module to make the code more clear.
2013-10-09 07:47:24 -04:00
James Tanner
b7f229d390
Second attempt at preventing ipv6 route enumeration on EL4 machines
2013-10-08 18:40:15 -04:00
James Tanner
4b1600aae5
Revert "Do not enumerate ipv6 routes in CentOS 4"
...
This reverts commit 5186c408f7
.
2013-10-08 15:51:12 -04:00
James Tanner
5186c408f7
Do not enumerate ipv6 routes in CentOS 4
2013-10-08 15:12:38 -04:00
Michael DeHaan
d803ce7ab3
Fix documentation of default value in s3 module. Fixes #4289
2013-10-08 08:42:03 -04:00
Michael DeHaan
ce0efc8e25
Fix typo, relative to absolute, fixes #4126
2013-10-08 08:40:22 -04:00
Michael DeHaan
135f79f337
Add documentation about how passwords are generated.
2013-10-08 08:36:48 -04:00
James Cammarata
a2ac5d6df2
Better detection/categorization of ipv4 secondaries/virtual IPs
...
Fixes #3916
Fixes #3478
2013-10-07 15:18:33 -05:00
Michael DeHaan
0e909640c5
Make group_id be a list.
2013-10-07 15:34:35 -04:00
Michael DeHaan
c5672cf16e
Merge pull request #4389 from MattTheRat/devel
...
addresses #4371 - adds -m to usermod commands
2013-10-07 12:15:20 -07:00
Matt Warren
74c412e249
addresses https://github.com/ansible/ansible/issues/4371 - adding -m to home directory modification
2013-10-07 10:47:12 -04:00
Michael DeHaan
686d998b26
Merge pull request #4368 from sayap/ec2_ami
...
ec2_ami: Account for AWS's "eventual consistency" with AMI creation.
2013-10-07 06:09:34 -07:00
Michael DeHaan
8604212da9
Merge pull request #4352 from jhoekx/mysql-user-grant
...
Add grant parameter to MySQL user module
2013-10-07 06:08:39 -07:00