Commit Graph

27227 Commits (f9a36962bd47cb7969d407b84556491bbd15be9d)
 

Author SHA1 Message Date
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
```
8 years ago
Hans-Joachim Kliemeck 1b4eea79d8 win_nssm: set application directory on change of application binary (#3267) 8 years ago
Scott Butler 8745feb567 Clarifies description of path parameter. 8 years ago
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.
8 years ago
Michal Klempa 39e3c530c0 maven_artifact: fix download of SBT published snapshot artifact (#3085)
Fixes #1717
8 years ago
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
8 years ago
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.
8 years ago
Tim Rupp a27de3adcc Adds route advertisement state to the bigip_virtual_server module (#3273) 8 years ago
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) 8 years ago
Jens Carl f60e0d88da Fix typo (#3289) 8 years ago
John R Barker 9fa1afc39f a10 - Use docs_fragments (#3281)
Remove duplicated documentation (common options defined in module_utils/a10.py).
Also tidy up formatting.
8 years ago
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
8 years ago
Rene Moser 960f28692e docs: adjust version_added 8 years ago
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
8 years ago
Andrea Scarpino 9b9ea97706 maven_artifact: Allow to specify a custom timeout (#2526) 8 years ago
Rowan 713b9bbdf3 Added proxied option to cloudflare_dns (#2961) 8 years ago
Pitsanu Swangpheaw 034f7d8b52 support proxmox resource pool (#2859) 8 years ago
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.
8 years ago
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
8 years ago
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.
8 years ago
John Barker 7b94e3de38 Conditional main()
This is needed to allow the debugger work
8 years ago
Georg be9fb2aa7d Update to firewalld doc
Missinformation about where available firewalld services are listed
8 years ago
Rene Moser 952add5920 docs: ec2_lc_facts: adjust version_added 8 years ago
Loïc 2e72ec40ae New module ec2_lc_facts (#2325)
New module to gather facts about AWS Autoscaling Launch Configurations
8 years ago
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>
8 years ago
YAEGASHI Takeshi 8bb9149a10 blockinfile: Add a newline at EOF when the file is newly created (#3174)
Ref: #2687
8 years ago
Brian Coca 9ca2fef23a corrected version 8 years ago
jhawkesworth 4a8fc74288 Win say (#2866)
* Add a text-to-speech module for windows.

* Fix documentation
8 years ago
Kevin Maris 0d8ceefd48 Respect include.* directives by default. 8 years ago
Toshio Kuratomi ea05c56a41 Fix remaining python3 compile problems 8 years ago
Toshio Kuratomi 3901fe72d3 Fix amazon extras modules to compile under python3 8 years ago
Toshio Kuratomi 46a1f73778 Fix remaining centurylink modules for py3
Also update the imports to take advantage of the Ansiballz imports
8 years ago
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
8 years ago
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
8 years ago
Steyn Huizinga c21dd8c13b Fix for ansible/ansible-modules-extras#3173 (#3203) 8 years ago
James Kassemi f4faf9842f Fix issue with multiple pages of results in ec2_lc_find (#3090) 8 years ago
Jeff d8efe53d7c logicmonitor: Documentation and logging updates based on feedback (#2756) 8 years ago
Nick Piper 491b136f6e doc: Correction for spelling of 'azure_rm_deployment' in example (#3212) 8 years ago
matt colton 93627a1f0f sl_vm: update datacenter, cpu and memory options (#3236) 8 years ago
Michael Scherer 4bbfe36a6e Refactor some code in timezone module 8 years ago
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.
8 years ago
Jonathan Sokolowski 90cc40e105 lvg: Initialise device list (#3141) 8 years ago
Michael Scherer 9bdb567c56 Make netscaler pass python3 sanity check 8 years ago
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.
8 years ago
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.
8 years ago
John R Barker 3472cc6f3a Run validate-modules from ansible/ansible (#3242)
* Run validate-modules from ansible/ansible

* Update sanity.sh
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Michael Scherer 50b31a2343 Do not import splitter, since we do not use it 8 years ago