Commit graph

8436 commits

Author SHA1 Message Date
nitzmahone
81c7630c01 fix statusio_maintenance exception handling 2016-06-20 13:13:09 -07:00
nitzmahone
5cd3e328f3 add win_chocolatey support for nonzero success exit codes 2016-06-20 13:02:29 -07:00
Stefan Horning
1da89cd5a1 Get EIP association information for ENI if EIP is associated (#2082) 2016-06-20 13:10:56 -04:00
Benjamin Copeland
45ca94af0a Adding statusio_maintenance module (#1394) 2016-06-20 12:50:23 -04:00
Brian Coca
a28d7a00b8 added 'seen' type to debconf 2016-06-20 08:59:10 -04:00
René Moser
0daedc05f5 cloudstack: cs_volume: fix volume may be NoneType in check_mode (#2455) 2016-06-20 12:25:47 +02:00
Joel Thompson
800da3ae16 Fix default service_address in consul module (#2454)
PR #1299 introduced the service_address parameter but specified a
default value of localhost. This is a breaking change; prior to that,
the consul module would always assume that the service should advertise
the address that the Consul agent was listening on. With this change,
the consul module will now default to advertising localhost to all nodes
for the service, which isn't the desired behavior. This changes the
default back to None which is the implicit default prior to #1299.
2016-06-19 17:58:44 +02:00
Javier M. Mellid
2c1530b647 Imports should be near the top of the file
Prior to 2.1, imports of module_utils was actually a preprocessor-like
substitution. So importing at the bottom helped preserve line numbers when
debugging. We'll be moving these to the top of files as time goes on.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:09 +02:00
Javier M. Mellid
78b4829623 Adapt exception syntax to work under python3 in s3_bucket.py
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:06 +02:00
Javier M. Mellid
a87b2e38a0 Add Ceph RGW S3 compatibility
Ceph Object Gateway (Ceph RGW) is an object storage interface built on top of
librados to provide applications with a RESTful gateway to Ceph Storage
Clusters:

http://docs.ceph.com/docs/master/radosgw/

This patch adds the required bits to handle buckets with the RGW S3 RESTful API
properly.

It sticks to the AWS behaviour where possible while avoiding not yet
implemented features in the Ceph RGW API.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2016-06-18 01:01:01 +02:00
Baptiste Mille-Mathias
6cb6829384 Implement mounts in proxmox module (#2426)
* Implement mounts in proxmox module

mounts in proxmox are the additionnal disk devices set in a guests.
We handle the mounts the same way that netif devices, using a
dictionnary with keys being mp0, mp1,…

* Add version_added

Seems to be a requirement but I didn't see that anywhere.
Hope it'll fix the travis-ci issue
2016-06-17 14:50:15 +02:00
jhawkesworth
07ed6bbd56 Various fixes to win_regedit and documentation (#2436) 2016-06-16 12:32:53 -07:00
Strahinja Kustudic
127ddc1f05 Fixes check mode error on Python 2.4 and wrong changed state (#2438)
* Fixes check mode error on Python 2.4 and wrong changed state

* Changes code as suggested by @bcoca
2016-06-16 12:46:12 -04:00
nitzmahone
eed9d601b5 StrictMode fixes for win_iis_webbinding
StrictMode fixes for win_scheduled_task

StrictMode fixes for win_webpicmd
2016-06-15 14:46:05 -07:00
Andrea Scarpino
ac32a1b808 Fix win_environment: strict-mode fix for 'value' (#2404) 2016-06-15 11:26:03 -07:00
Rob
65fe9eb2b0 Add boto3 support to ec2_eni_facts (#2425) 2016-06-14 22:09:54 +02:00
Toshio Kuratomi
146c969c07 Removed one module from the py3 syntax check blacklist 2016-06-13 12:05:00 -07:00
Artem Feofanov
a8611671ec add telegram notification module 2016-06-13 14:55:09 -04:00
Bede Carroll
1e405bb472 Add vMotion Module (#2342) 2016-06-13 14:51:03 -04:00
Ian Levesque
88dc108b69 add 'behavior' attribute to consul_session (#2183)
add 'behavior' attribute to consul_session
2016-06-13 14:50:19 -04:00
Adrian Moisey
2ad6f02c7b Add initial github_release module (#1755)
Add initial github_release module.
2016-06-13 13:47:21 -04:00
Constantin
062c7607a4 Added block_device_mapping in the returned output (#1553) 2016-06-13 13:43:38 -04:00
René Moser
e596ad9294 Merge pull request #2388 from resmo/for-ansible-2.2
[2.2] cloudstack related changes for Ansible 2.2
2016-06-13 19:41:43 +02:00
Lujeni
e032aeaedd Support the ssl_cert_reqs directive (#1122) 2016-06-13 13:36:57 -04:00
René Moser
b13b954085 doc: rocketchat: minor doc fix (#2420) 2016-06-13 18:27:03 +02:00
Deepakkothandan
8ea7ae4690 Ansible Module for Sending Rocket Chat Notifications (#2222) 2016-06-13 18:09:29 +02:00
sxpert
a82e991453 Virt net mods batch 1 (#1686)
* add a new modify command

for now, allows adding or modifying hosts in the dhcp subsystem

* fix some pep8 things that escaped

* add modify in the list in the doc

* added mention of adding modify in version 2.1

* handle the test mode case for modify

* modify the code for finer check mode support
2016-06-13 17:22:10 +02:00
René Moser
d256c7f373 doc: maven_artifact: add a note about s3 support since version 2.2 (#2417)
See #2317
2016-06-13 08:48:03 +02:00
Gonçalo Luiz
ff0e1df82c added s3 download support to maven module (#2317)
* added s3 download support

* removed extraneous import
2016-06-13 08:34:52 +02:00
Rob Powell
43760b2c4a Update win_firewall_rule.py (#2337)
added profile examples as my firewall task would pass yet no firewall rule was created until I added

profile: Domain,Private,Public

When setting a Firewall rule on Windows Server 2008 R2 manually, these three are selected as default, useful to have in the documentation maybe?
2016-06-11 21:12:46 +02:00
Dag Wieers
3ca1254018 Validate return code and fail properly (#2334)
This fixes #2333
2016-06-10 19:24:43 +02:00
Dag Wieers
1563b727a4 Adapt module to use new module._name property (#2408)
This is in line with the change from ansible/ansible#16087
2016-06-10 11:44:18 -04:00
Rene Moser
206cfb3125 cloudstack: move duplicate common code to utils 2016-06-09 22:58:09 +02:00
Rene Moser
00fe782722 cloudstack: cs_staticnat: fix static nat was always changed (disabled/enabled)
Fixes firewall rules get lost after use of cs_staticnat.
2016-06-09 22:54:25 +02:00
Rene Moser
aef2da2401 cloudstack: use has_changed() from utils 2016-06-09 22:41:32 +02:00
Rene Moser
8a235e4e53 cloudstack: use poll_job() from utils 2016-06-09 22:39:03 +02:00
Rene Moser
c693be53f5 cloudstack: cs_cluster: overhaul code style 2016-06-09 21:32:45 +02:00
Rene Moser
a3f57a8cf4 cloudstack: cs_affinitygroup: overhaul code style 2016-06-09 21:32:45 +02:00
Rene Moser
122beec048 cloudstack: cs_account: overhaul code style 2016-06-09 21:32:45 +02:00
Rene Moser
efcfe21732 cloudstack: remove duplicate import cs handling, already in utils. 2016-06-09 21:32:45 +02:00
Rene Moser
ff29da944e cloudstack: cs_project: fix state=active/suspended does not create/update project 2016-06-09 21:32:17 +02:00
Ilya Zonov
883ccbefe5 Fix rabbitmq parameter changed check (#2237)
This commit fixes following issue: "Changed" flag is always true when
var is used for value module param.
2016-06-09 21:03:09 +02:00
Dag Wieers
93b59ba852 Update GitHub templates to reflect ansible/ansible (#2397)
Update the GitHub templates to what is used for some time on ansible/ansible
For more information, see ansible/ansible#15961
2016-06-09 11:00:00 -04:00
Rob
0e9a820628 Use helper function for new module and rename (#2277) 2016-06-08 10:43:53 -07:00
Alex Lee
9391103f01 correcting spelling mistake 2016-06-08 08:59:35 -07:00
Alex Lee
62d7ded9ba adding public ip address 2016-06-08 08:59:35 -07:00
Dag Wieers
e49858b09e sefcontext: New module to manage SELinux file context mappings (semanage fcontext) (#2221)
New SELinux module sefcontext to set SELinux file context mappings

This module implements `semanage fcontext` in an idempotent way.
It supports check-mode and diff-mode.
2016-06-08 11:45:38 -04:00
tazle
93f47524d9 Fixed /etc/hosts example for blockinfile (#2387)
- Fixed name
- Fixed name/ip order in template
2016-06-08 10:22:52 -04:00
David Shrewsbury
1f1e15ae00 Merge pull request #1784 from SamYaple/devel
Create OpenStack identity services module
2016-06-08 10:20:44 -04:00
Rene Moser
6fd21ae67c cloudstack: cs_project: add tag support 2016-06-08 15:11:03 +02:00