Commit graph

8620 commits

Author SHA1 Message Date
Tim Rupp
1c36665545 Add f5 modules to python 2.4 exclusion list (#2474)
I am taking over much of the development of modules old
and new for F5 and to meet the coding conventions for our
modules, I am aiming at newer python versions.

Therefore, I will be excluding python 2.4
2016-06-24 11:01:17 -04:00
Michael Grüner
4debfcc241 cloudflare_dns: Improve error handling (#2470)
Use the new "body" field of the info dict in case of a HTTPError.
2016-06-23 22:15:55 +02:00
trondhindenes
dbced2c809 Merge pull request #2467 from trondhindenes/win_firewall_bugfix
bugfix code error in win_firewall
2016-06-23 15:31:19 +02:00
Tim Rupp
9d37820b08 Adds server port argument to legacy modules (#2444)
This patch adds support for the server_port module. It
additionally updates the documentation in the module for
it.

The changes were tested in the f5-ansible repository to
ensure no breaking changes were made. This argument allows
modules to be used on BIG-IPs that are listening on
non-standard ports.
2016-06-23 11:33:49 +02:00
Trond Hindenes
2be4e15a0a bugfix code error in win_firewall 2016-06-23 08:45:29 +02:00
nitzmahone
709114d55f fix ec2_vpc_vgw exception handling issues 2016-06-22 17:26:41 -07:00
nitzmahone
9df4f6a4c7 fix win_updates to prevent Get-Member failure on bogus job output 2016-06-22 17:19:05 -07:00
James Cammarata
d5a3f5ec5f Merge pull request #1709 from naslanidis/new_aws_module_ec2_vpc_vgw
New aws module for ec2 vpc virtual gateways
2016-06-22 13:39:50 -05:00
Shinichi TAMURA
ba6aa8b013 Added 'answer' as an alias of 'value' on debconf module (#2464) 2016-06-22 08:53:16 -04:00
Andrea Scarpino
9392943915 win_firewall_rule: strictmode fixes (#2432)
I set the default values to `netsh advfirewall firewall add rule` defaults.
2016-06-20 17:35:27 -04:00
Shinichi TAMURA
cb94edd17f Added timezone module (#2414) 2016-06-20 17:34:16 -04:00
Tim Small
713aaa1d4a Allow parameters to be passed for uninstall (required by some packages) (#2269) 2016-06-20 17:30:10 -04:00
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