Commit graph

7807 commits

Author SHA1 Message Date
twmartin
90327ad76b Correct 'object not iterable' TypeError 2015-12-10 09:49:58 -06:00
Michael Scherer
fed6090e73 Simplify the code and remove use_unsafe_shell=True
While there is no security issue with this shell snippet, it
is better to not rely on shell and avoid use_unsafe_shell.
2015-12-10 01:02:15 +01:00
Charles Paul
51813e0033 upped version added, search by vm_name by default 2015-12-09 16:30:31 -05:00
Chrrrles Paul
415ab8d046 Merge pull request #1319 from ritzk/vmware-execute-local-process
vmware_vm_shell: add the ability to start program without network connection
2015-12-09 16:25:55 -05:00
Toshio Kuratomi
cbed642009 Simplify code 2015-12-09 12:08:06 -08:00
Johan Wirén
fed4b28020 Documentation fixes 2015-12-09 00:38:45 +01:00
Johan Wirén
58d23cba68 Update example 2015-12-09 00:03:29 +01:00
Johan Wirén
e549d96723 Changes how zfs properties are handled
This moves the validation of properties to the zfs command itself. The
properties and their choices were not really correct anyway due to
differences between OpenZFS and Solaris/ZFS.
2015-12-08 23:59:31 +01:00
Brian Coca
f6a0fec577 Merge pull request #1261 from agx/zypper-rc-status
zypper: Add returncode to result
2015-12-08 17:19:42 -05:00
daveres
5d1e9c6acb Correct problem with changed:true
I have just changed a small piece of this module to avoid to return always that the task is changed
2015-12-08 19:00:31 +01:00
Brian Coca
0749ee5897 Merge pull request #1344 from gordonfierce/devel
Fix documentation
2015-12-08 11:18:49 -05:00
Brian Coca
f2dbaa6b33 Merge pull request #1102 from bgeihsgt/win_webpicmd_fix
Fix #1101: win_webpicmd strict mode fixes
2015-12-08 09:35:09 -05:00
Gordon Fierce
b0196edb34 Fix documentation to prevent formatting error where each letter has its own line. 2015-12-07 18:47:26 -05:00
Brian Coca
2ce866f759 corrected version added to 2.1 2015-12-07 10:03:13 -08:00
Brian Coca
43b63c36fd Merge pull request #973 from wimnat/feature/ec2_vpc_net_facts
New module - ec2_vpc_net_facts
2015-12-07 12:59:49 -05:00
Vladimir Dimov
de672f1ab2 Doc fix ec2_vpc_route_table.py 2015-12-07 19:15:24 +02:00
Vladimir Dimov
9ba686f8e6 Doc fix on route53_health_check.py. Fixed first example. Should be register instead of record. 2015-12-07 18:55:45 +02:00
Brian Coca
1d27ef13fe Merge pull request #1333 from atsaki/cloudstack_resize_volume
Enable to resize a volume with cs_volume
2015-12-05 18:23:33 -05:00
quoing
4c0b91fd9b Fix 'An error occurred while looking up _xmpp-client._tcp.10.100.1.108' when IP host is configured
...
    jabber: user=ansible@mydomain.tld
            host=10.100.1.108
...

fatal: [bruce.mess.cz] => failed to parse: Invalid debugflag given: always
Invalid debugflag given: nodebuilder
2015-12-05 17:05:02 +01:00
Atsushi Sasaki
91d3c02571 Enable to resize a volume with cs_volume 2015-12-05 19:21:28 +09:00
Brian Coca
5e52b2f091 Merge pull request #1322 from resmo/for-ansible
[v2] cloudstack fixes
2015-12-05 00:48:33 -05:00
gfrank
cfe4f59b5b Use "" for AppParameters if it's null 2015-12-04 15:46:06 -05:00
Matt Davis
2bd773f32a Merge pull request #1198 from georgefrank/win_nssm-fix-1195
Escape parameter string before converting to hash table
2015-12-04 12:22:12 -08:00
gfrank
a550644d9f Merge remote-tracking branch 'refs/remotes/ansible/devel' into devel 2015-12-04 14:36:51 -05:00
gfrank
bc42aea3a3 Replace slashes in the parameter string
Also remove duplicate documentation
2015-12-04 14:33:31 -05:00
Toshio Kuratomi
a10bdd6be9 Merge pull request #1302 from mscherer/fix_1282
Add a more explicit error message on missing requirement for firewalld
2015-12-04 07:32:35 -08:00
Michael Scherer
037ff89063 Add a more explicit error message, fix #1282 2015-12-04 11:46:20 +01:00
Rene Moser
8ec66713d9 cloudstack: fixes and improvements
- cs_affinitygroup: add project support
  Project support in CloudStack for affinity groups is going to be fixed/implemented in the near future, this module should already support.

- cs_affinitygroup:  fix missing returns in doc

- cs_volume: fix disk offering not found

- cs_volume: fix volume not found if created with display_volume=no

- cs_firewall: argument zone is missing, default zone is always used.
  credits for reporting and fixing to @atsaki
  closes #1320

- cs_instance: fix user_data base64 encoding fails if not a string
2015-12-04 09:39:53 +01:00
Rob
186fe2babc Added missing else statement that caused existing rules to be discarded 2015-12-04 01:50:38 +00:00
Matt Davis
5f510eba97 Merge pull request #1286 from smadam813/win_regedit
fix #1236
2015-12-03 16:04:14 -08:00
Ritesh Khadgaray
426e76dddb vmware_vm_shell: add the ability to start program without network connection 2015-12-02 19:33:34 +05:30
autotune
c047814512 Fixed bug to recognize haproxy changes 2015-12-01 17:30:26 -08:00
Kirill Kozlov
201be81aad Set latest as version argument default value 2015-12-01 23:55:26 +03:00
Brian Coca
7ee8e7d65a Merge pull request #1313 from Mogztter/issue-1312
Resolves #1312, Improve pam_limits documentation
2015-12-01 10:18:22 -08:00
Brian Coca
109f954a83 Merge pull request #1310 from michaelw/patch-1
Fix error 'fail_json() takes exactly 1 argument'
2015-12-01 09:32:12 -08:00
Brian Coca
b01d28049b Merge pull request #1314 from pcsforeducation/patch-1
Fix mongodb_user docs typo
2015-12-01 09:28:56 -08:00
Josh Gachnang
8d866669bb Fix mongodb_user docs typo
Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher.

These docs made me chuckle, so thanks :)
2015-12-01 11:16:29 -06:00
Guillaume Grossetie
32658b9d3b Resolves #1312, Improve pam_limits documentation
Adds comment parameter and improve examples.
2015-12-01 14:27:50 +01:00
Michael Weber
fba8c9f8a7 Fix error 'fail_json() takes exactly 1 argument'
Fixes bug #1257
2015-12-01 01:56:23 -08:00
Toshio Kuratomi
3c4f954f0f Don't raise or catch StandardError in amazon modules 2015-11-30 19:01:57 -08:00
Rene Moser
f2eb00cc71 cloudstack: cs_instance: implement state=restored 2015-11-30 17:08:07 +01:00
Björn Andersson
72155d40a3 monit: Set a high timeout waiting for status changes
Instead of waiting for up to a certain number of retries we set a high
timeout and only re-check every five seconds. Certain services can
take a minute or more to start and we want to avoid waisting resources
by polling too often.
2015-11-29 23:44:58 +08:00
Björn Andersson
262f2e9048 monit: Add version_added and type for new argument 2015-11-29 22:21:38 +08:00
Björn Andersson
5835d06a4e monit: Wait for pending state changes for reloads
@mpeters reported that we're not checking that the named service is
actually there after a reload. And that sometimes monit doesn't actually
return anything at all after a reload.
2015-11-29 22:21:38 +08:00
Björn Andersson + SU Sheng Loong
f8fe5a2fcd monit: Add retry for pending/initializing services
If there are already ongoing actions for a process managed by monit, the
module would exit unsuccessfully. It could also give off false positives
because it did not determine whether the service was started/stopped
when it was in a pending state. Which might be turning the service off,
but the action was to start it.

For example "Running - pending stop" would be regarded as the service
running and "state=enabled" would do nothing.

This will make Ansible wait for the state to finalize, or a timeout decided
by the new `max_retries` option, before it decides what to do.

This fixes issue #244.
2015-11-29 22:21:38 +08:00
Brian Coca
60dd37d15f Merge pull request #1291 from Mogztter/issue-1290
documents missing limit_type choice "-"
2015-11-27 12:56:24 -08:00
Guido Lorenz
d51950c37e win_chocolatey: Clean up documentation 2015-11-27 16:33:17 +01:00
Guido Lorenz
5948389d2f win_chocolatey: Add install_args, params and ignoredependencies 2015-11-27 16:33:10 +01:00
Charles Ferguson
68b7142d62 Update 'patch' documentation for src, remote_src, backup and binary.
The patch module has a few missing items, and inconsistencies, in its
documentation. A few of which are addressed here.

Within Ansible documentation, the choices for boolean values are
commonly 'yes', and 'no'. We standardise the options on that.

'remote_src' documentation uses 'False' and 'True' for its documentation,
so these have been updated in both the choices and default.

'src' documentation refers to 'remote_src', so is updated to use
the 'no' choice.

'backup' did not describe its options and default at all, so we add
them.

'binary' default used 'False', but specified the type as 'bool' which is
implicitly documented as 'yes'/'no', so we make that 'no' as well.
2015-11-27 00:24:08 +00:00
GUILLAUME GROSSETIE
c28a0031bb Resolves #1290, Adds limit_type choice "-" 2015-11-26 11:37:59 +01:00