Tom Paine
9fa6d9eda8
Update letsencrypt.py
...
Extend `remaining_days` description.
2016-12-08 11:35:04 -05:00
Michael Ansel
52e14bd172
jira: Specify the correct argument type ( #3368 )
...
By default, all arguments are considered strings, but the module code expects the `fields` parameter to be a proper Python dictionary.
Fixes #2600
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
138f2cd847
Fix for dnf groupinstall
...
Previous fix to group install introduced a different bug trying to
strip() group names at the wrong level. This patch fixes that.
Fixes #3358
2016-12-08 11:35:04 -05:00
Matt Clay
3ec6722a21
Simplify compileall checks. Remove py3 skip list.
...
Also applied updates to sanity.sh from ansible-modules-core.
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
b82ceae75f
Fix python3 syntax for octal numbers
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
58ec3df13d
Revert "add support for proxysql ( #2917 )"
...
This reverts commit 9d51f82395
.
proxysql is breaking docs build. Reverting until those are fixed
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
5cd11f5e39
Revert "several fixes to doc to avoid breaking doc build"
...
This reverts commit 6e4a182684
.
reverting proxysql modules for owner to fix docs build so reverting this
fix as well.
2016-12-08 11:35:04 -05:00
Brian Coca
15a0cffee0
several fixes to doc to avoid breaking doc build
2016-12-08 11:35:04 -05:00
cameronurnes
ec8bd8ee77
Fix elf and elf_facts documentation formatting ( #3348 )
...
* This method breaks the output on the documentation site
* Conflicting quotes
* Conflicting quotes
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
c41c3abb85
Archive is being added in 2.3 rather than 2.2
2016-12-08 11:35:04 -05:00
bmildren
e284af01b1
add support for proxysql ( #2917 )
...
* Adding support for proxysql
* Moved and restricted imports, updated exception handling
* Updated version_added, and mysqldb_found constant name
* Removed unnecessary parentheses
2016-12-08 11:35:04 -05:00
Toshio Kuratomi
82d2a4810e
Fix installation of environment groups
...
In dnf, environment groups are separate from groups. Need to handle
them separately when calling the API.
Fixes #2178
After upstream review, hande dnf-2.0 mandatory packages in groups
If mandatory packages in a group are not installed, a group will report
failure. Fix this by catching the error and reporting after trying
to install the other packages and groups in the transaction.
2016-12-08 11:35:04 -05:00
Matt Clay
4ada3463ca
Removed tests migrated to ansible/ansible repo. ( #3330 )
2016-12-08 11:35:04 -05:00
Matt Clay
db0ac4936b
Skip shard count test in check mode. ( #3329 )
...
The shard count is not available in check mode.
2016-12-08 11:35:03 -05:00
Igor Gnatenko
16896194a8
dnf: fix compatibility with DNF 2.0 ( #3325 )
...
* dnf: fix compatibility with DNF 2.0
* Reimplement (copy) old dnf.cli.commands.parse_spec_group_file(),
upstream uses argparse since 2.0.
* add_remote_rpm() has been changed to the add_remote_rpms()
Closes: https://github.com/ansible/ansible-modules-extras/issues/3310
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* fixup! dnf: fix compatibility with DNF 2.0
2016-12-08 11:35:03 -05:00
Scott Butler
5cb9bbbd18
Typo fix requested by marketing.
2016-12-08 11:35:03 -05:00
Andrew Gaffney
c238d3070a
Minor fixes for openwrt_init for busybox ps and worthless exit codes
2016-12-08 11:35:03 -05:00
Yevgeniy Valeyev
e064fd3256
cloudtrail: Fix error on existing trail without S3 prefix ( #2939 )
2016-12-08 11:35:03 -05:00
Mike Rostermund
d50e2c654f
lxd_container: doc: Correct name and state for example of deleting ( #3299 )
2016-12-08 11:35:03 -05:00
Thierno IB. BARRY
b09291be2c
elasticsearch_plugin: add check mode support ( #3043 )
2016-12-08 11:35:03 -05:00
Andrew Gaffney
b69fb8a1ca
Add openwrt_init module for managing services on OpenWrt ( #3312 )
2016-12-08 11:35:03 -05:00
Toshio Kuratomi
09c56140cd
* Fix for spaces in the package spec. * Fix for python-2.6 compat
2016-12-08 11:35:03 -05:00
Toshio Kuratomi
d558c55cee
install dnf python bindings if possible
...
Fixes #14427
2016-12-08 11:35:03 -05:00
Yanis Guenane
f9a36962bd
network: Add new module openssl_privatekey
...
This module aims to allow a user to manage the lifecycle of OpenSSL
private keys. Internally it relies on the pyOpenSSL python library
to interact with openssl.
A user is able to specify :
* key size (via `size` parameter)
* key algorithm (via `type` parameter)
* key location (via `path` parameter)
The most simple use case is:
```
- name: Generate ansible.com.pem SSL private key
openssl_privatekey: name=ansible.com.pem
path=/etc/ssl/private
```
A user can speficy more settings:
```
- name: Generate ansible.com.pem SSL private key
openssl_privatekey: name=ansible.com.pem
path=/etc/ssl/private
size=2048
type=DSA
```
A user can also force the regeneration of an SSL key:
```
- name: Generate ansible.com.pem SSL private key
openssl_privatekey: name=ansible.com.pem
path=/etc/ssl/private
force=true
```
2016-12-08 11:35:03 -05:00
Hans-Joachim Kliemeck
1b4eea79d8
win_nssm: set application directory on change of application binary ( #3267 )
2016-12-08 11:35:03 -05:00
Scott Butler
8745feb567
Clarifies description of path parameter.
2016-12-08 11:35:03 -05:00
Grégory
c2a921ab7c
Change azure default deployment mode to incremental ( #3023 )
...
* Changed default deployment mode to match with azure -cli behaviour. "Complete" mode by default is too dangerous.
* Set incremental as default behaviour for deployment mode.
2016-12-08 11:35:03 -05:00
Michal Klempa
39e3c530c0
maven_artifact: fix download of SBT published snapshot artifact ( #3085 )
...
Fixes #1717
2016-12-08 11:35:03 -05:00
Tim Rupp
9efcfaff48
Adds bigip_sys_global module ( #3271 )
...
This module can be used to change a variety of system parameters
typically used for bootstrapping.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_sys_global/tasks/main.yaml
Platforms this was tested on are
12.1.0-hf1
2016-12-08 11:35:02 -05:00
Tim Rupp
10697854e0
Adds route_domain parameter to the selfip module. ( #3272 )
...
This patch allows one to specify a route_domain to create the
selfip in.
2016-12-08 11:35:02 -05:00
Tim Rupp
a27de3adcc
Adds route advertisement state to the bigip_virtual_server module ( #3273 )
2016-12-08 11:35:02 -05:00
Ryan Conway
15f32cf3d5
Adds support for setting a virtual server's "source address translation" policy to a specific SNAT pool, in addition to the 'None' or 'Automap' options. ( #3158 )
2016-12-08 11:35:02 -05:00
Jens Carl
f60e0d88da
Fix typo ( #3289 )
2016-12-08 11:35:02 -05:00
John R Barker
9fa1afc39f
a10 - Use docs_fragments ( #3281 )
...
Remove duplicated documentation (common options defined in module_utils/a10.py).
Also tidy up formatting.
2016-12-08 11:35:02 -05:00
Tim Rupp
0055360315
Make irules module idempotent ( #3175 )
...
The irules module was failing to strip whitespace that is, for some
reason, automatically inserted by BIG-IP. This patch adds necessary
strips
2016-12-08 11:35:02 -05:00
Rene Moser
960f28692e
docs: adjust version_added
2016-12-08 11:35:02 -05:00
Thierno IB. BARRY
60a32ba77f
openvswitch_bridge: add fake bridge support ( #3054 )
...
* openvswitch_bridge: add fake bridge support
* openvswitch_bridge: check if vlan is between 0 and 4095
2016-12-08 11:35:02 -05:00
Andrea Scarpino
9b9ea97706
maven_artifact: Allow to specify a custom timeout ( #2526 )
2016-12-08 11:35:02 -05:00
Rowan
713b9bbdf3
Added proxied option to cloudflare_dns ( #2961 )
2016-12-08 11:35:02 -05:00
Pitsanu Swangpheaw
034f7d8b52
support proxmox resource pool ( #2859 )
2016-12-08 11:35:02 -05:00
Matthew Treinish
cbde91d765
Add TLS encyrption support to MQTT ( #2700 )
...
This commit adds module settings for configuring TLS encyption on the
mqtt notification module. Previously there was no way to configure
sending the messages encrpyted to mqtt.
2016-12-08 11:35:02 -05:00
jctanner
94175476b7
Implement a workaround for broken FindByInventoryPath method in pyvmomi ( #3243 )
...
* Add initial support for using a cluster instead of an esxi hostname
* FindByInventoryPath doesn't always work, so implement a fallback method to match the path
2016-12-08 11:35:02 -05:00
Michael Scherer
ceec679302
Make blockinfile work with python3
...
Traceback (most recent call last):
File \"/tmp/ansible_ueg52c0b/ansible_module_blockinfile.py\", line 319, in <module>
main()
File \"/tmp/ansible_ueg52c0b/ansible_module_blockinfile.py\", line 259, in main
if line.startswith(marker0):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Also clean imports while on it.
2016-12-08 11:35:02 -05:00
John Barker
7b94e3de38
Conditional main()
...
This is needed to allow the debugger work
2016-12-08 11:35:02 -05:00
Georg
be9fb2aa7d
Update to firewalld doc
...
Missinformation about where available firewalld services are listed
2016-12-08 11:35:01 -05:00
Rene Moser
952add5920
docs: ec2_lc_facts: adjust version_added
2016-12-08 11:35:01 -05:00
Loïc
2e72ec40ae
New module ec2_lc_facts ( #2325 )
...
New module to gather facts about AWS Autoscaling Launch Configurations
2016-12-08 11:35:01 -05:00
Steve Kuznetsov
c496c1b08e
make: Expose std{out,err} of successful make commands ( #3074 )
...
When using the `make:` extras module, often the action taken
by the Make target is large. It is useful, therefore, to see
the output that `make` had to std{out,err} during execution
even when the target did not fail.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2016-12-08 11:35:01 -05:00
YAEGASHI Takeshi
8bb9149a10
blockinfile: Add a newline at EOF when the file is newly created ( #3174 )
...
Ref: #2687
2016-12-08 11:35:01 -05:00
Brian Coca
9ca2fef23a
corrected version
2016-12-08 11:35:01 -05:00
jhawkesworth
4a8fc74288
Win say ( #2866 )
...
* Add a text-to-speech module for windows.
* Fix documentation
2016-12-08 11:35:01 -05:00
Kevin Maris
0d8ceefd48
Respect include.* directives by default.
2016-12-08 11:35:01 -05:00
Toshio Kuratomi
ea05c56a41
Fix remaining python3 compile problems
2016-12-08 11:35:01 -05:00
Toshio Kuratomi
3901fe72d3
Fix amazon extras modules to compile under python3
2016-12-08 11:35:01 -05:00
Toshio Kuratomi
46a1f73778
Fix remaining centurylink modules for py3
...
Also update the imports to take advantage of the Ansiballz imports
2016-12-08 11:35:01 -05:00
Michael Scherer
8fb4fd6736
Fix pkgng on python 3
...
Fail with:
Traceback (most recent call last):
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 353, in <module>
main()
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 330, in main
_changed, _msg = install_packages(module, pkgng_path, pkgs, p[\"cached\"], p[\"pkgsite\"], dir_arg)
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 161, in install_packages
old_pkgng = pkgng_older_than(module, pkgng_path, [1, 1, 4])
File \"/tmp/ansible_2rsl4fg1/ansible_module_pkgng.py\", line 121, in pkgng_older_than
while compare_version[i] == version[i]:
TypeError: 'map' object is not subscriptable
2016-12-08 11:35:01 -05:00
Alexandre Garnier
945ac72217
Really fix python 2.4 compatibility
...
PR #1544 didn't remove the keyword argument 'delete' not existing in `tempfile.NamedTemporaryFile()` in python 2.4
2016-12-08 11:35:01 -05:00
Steyn Huizinga
c21dd8c13b
Fix for ansible/ansible-modules-extras#3173 ( #3203 )
2016-12-08 11:35:01 -05:00
James Kassemi
f4faf9842f
Fix issue with multiple pages of results in ec2_lc_find ( #3090 )
2016-12-08 11:35:00 -05:00
Jeff
d8efe53d7c
logicmonitor: Documentation and logging updates based on feedback ( #2756 )
2016-12-08 11:35:00 -05:00
Nick Piper
491b136f6e
doc: Correction for spelling of 'azure_rm_deployment' in example ( #3212 )
2016-12-08 11:35:00 -05:00
matt colton
93627a1f0f
sl_vm: update datacenter, cpu and memory options ( #3236 )
2016-12-08 11:35:00 -05:00
Michael Scherer
4bbfe36a6e
Refactor some code in timezone module
2016-12-08 11:35:00 -05:00
Morgan Jones
be19af02f7
azure_rm_deployment: fix rg issue with _nic_to_public_ips_instance() ( #2950 )
...
Fix an issue with _nic_to_public_ips_instance() function. There was an assumption in the code that the Public IP sits in the same resource group, this isn't always the case.
2016-12-08 11:35:00 -05:00
Jonathan Sokolowski
90cc40e105
lvg: Initialise device list ( #3141 )
2016-12-08 11:35:00 -05:00
Michael Scherer
9bdb567c56
Make netscaler pass python3 sanity check
2016-12-08 11:35:00 -05:00
Michael Scherer
04996c3720
Make nmcli pass py3 sanity check
...
Cleanup include, do not use '*' for future refactoring.
Since nmcli is not present on EL5, we can safely use python
2.6 syntax only.
2016-12-08 11:35:00 -05:00
John R Barker
32c4190ac8
Remove reference to ansible-validate-modules ( #3256 )
...
ansible-validate-modules is now in ansible/ansible
During 2.3 we will be merge the modules into ansible/ansible so this file will go away.
The new testing documentation will refer to `ansible-test` which will wrap up the unit, integration, and ansible-validate-modules. So no need to document here.
2016-12-08 11:35:00 -05:00
John R Barker
3472cc6f3a
Run validate-modules from ansible/ansible ( #3242 )
...
* Run validate-modules from ansible/ansible
* Update sanity.sh
2016-12-08 11:35:00 -05:00
Tim Rupp
56147c3771
Adds module to manage SNAT pools on a BIG-IP ( #3217 )
...
This module adds the ability to manage the lifecycle of SNAT pools on a BIG-IP.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_snat_pool/tasks/main.yaml
Platforms this was tested on are
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Tim Rupp
7bfb491ba5
Adds the bigip_hostname module ( #3216 )
...
This module can be used to change the hostname on a bigip. The
hostname must be set via the tmsh or API methods or else it will
not reflect properly in the config.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_hostname/tasks/main.yaml
Platforms this was tested on are
12.0.0
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Tim Rupp
5d3dafc02e
Adds bigip_gtm_facts module ( #3232 )
...
This patch adds support for querying the GTM(DNS) facts from a
BIG-IP. This completes a previous PR that was requested but not
finished.
Tests for this module can be found here
https://github.com/F5Networks/f5-ansible/blob/master/roles/bigip_gtm_facts/tasks/main.yaml
Platforms this was tested on are
11.6.0
12.1.0 HF1
2016-12-08 11:35:00 -05:00
Michael Scherer
50b31a2343
Do not import splitter, since we do not use it
2016-12-08 11:35:00 -05:00
Michael Scherer
7f4fdba0c6
Make openvswitch* pass py3 sanity check
2016-12-08 11:35:00 -05:00
Michael Scherer
2a83eefaae
Make consul modules pass sanity test for python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
d4157095f3
Make bigpanda module pass python3 sanity check
2016-12-08 11:34:59 -05:00
Michael Scherer
9cac0b54c6
Make jabber module compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
60b6cb8305
Make mail compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
95929fb79f
Make postgresql module in extras compile on py3
2016-12-08 11:34:59 -05:00
Michael Scherer
6963cd8ae7
Make mongodb modules compile on python 3
2016-12-08 11:34:59 -05:00
Michael Scherer
1bca0847a4
Make rax_clb_ssl module pass sanity check for py3
2016-12-08 11:34:59 -05:00
Michael Scherer
2ceb672016
Fix dnsmadeeasy module to pass py3 sanity check
2016-12-08 11:34:59 -05:00
Michael Scherer
b902ea297f
Make mqtt pass python3 sanity tests
2016-12-08 11:34:59 -05:00
Toshio Kuratomi
3c1dea1933
Add python-2.6 requirement to the proxmox module
2016-12-08 11:34:59 -05:00
Michael Scherer
573958bd53
Do not leak login_password when using verbose, with no_log
2016-12-08 11:34:59 -05:00
Alex
88e940a3e1
zypper: fix for checking result is None ( #3143 )
2016-12-08 11:34:59 -05:00
Michael Scherer
1948bcb9e7
Make zabbix modules compile on python 3
...
Since the module is not compatible with python 2.4, we
do not need to use the get_exception trick
2016-12-08 11:34:59 -05:00
Michael Scherer
c1f7fa2f3b
ovirt_auth: fix type and password leak ( #3119 )
...
Do not leak the password in log, and verify the path of ca_file
2016-12-08 11:34:59 -05:00
Ville Reijonen
e5688c709a
win_scheduled_task: fix days_of_week var command typo ( #3198 )
2016-12-08 11:34:59 -05:00
Michael Scherer
adc62226d4
Make dnssimple compile on python 3
2016-12-08 11:34:58 -05:00
hyperized
d815890aa6
Update irc.py ( #3144 )
...
Proposal to update the example to YAML syntax.
2016-12-08 11:34:58 -05:00
Benjamin Copeland
2796370b57
statusio_maintenance: Fix minor typo ( #3137 )
2016-12-08 11:34:58 -05:00
Jasper Lievisse Adriaanse
83a6032b7a
Remove incorrect statement, uri module doesn't require httplib2 anymore
2016-12-08 11:34:58 -05:00
Michael Scherer
8676924da5
Fix proxmox for python 3
...
Since it doesn't work on python 2.4, we can use the native
exception handling way for python 3
2016-12-08 11:34:58 -05:00
Michael Scherer
37b62a1db3
Remove gce from the blacklist for python 3 tests, forgot in #3179
2016-12-08 11:34:58 -05:00
Toshio Kuratomi
f77aa869b8
Few more places where gce modules need python3 compat exceptions
2016-12-08 11:34:58 -05:00
Michael Scherer
7ba630eda2
Make xenserver_facts compile on python 3
...
Since the xenapi is not needed on python 2.4, we can use the
regular exception handling code
2016-12-08 11:34:58 -05:00
Michael Scherer
9f5f85c9f0
Port ovirt to python 3
...
Since ovirt sdk is not running on python 2.4, we can use python 2.6
syntax directly for exceptions.
2016-12-08 11:34:58 -05:00
Michael Scherer
715b88a8a5
Make redis run on python 3
2016-12-08 11:34:58 -05:00
Michael Scherer
11d88bc1a8
Fix gce module to compile on python 3 ( #3179 )
2016-12-08 11:34:58 -05:00