Commit Graph

27740 Commits (647bf4eceb6d8cc28e43120fbfaad0d250a3a91d)
 

Author SHA1 Message Date
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.
8 years ago
Matt Clay 8414b466d7 Code cleanup. 8 years ago
Matt Clay 4ada3463ca Removed tests migrated to ansible/ansible repo. (#3330) 8 years ago
Matt Clay db0ac4936b Skip shard count test in check mode. (#3329)
The shard count is not available in check mode.
8 years ago
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
8 years ago
Scott Butler 5cb9bbbd18 Typo fix requested by marketing. 8 years ago
Andrew Gaffney c238d3070a Minor fixes for openwrt_init for busybox ps and worthless exit codes 8 years ago
Yevgeniy Valeyev e064fd3256 cloudtrail: Fix error on existing trail without S3 prefix (#2939) 8 years ago
Mike Rostermund d50e2c654f lxd_container: doc: Correct name and state for example of deleting (#3299) 8 years ago
Thierno IB. BARRY b09291be2c elasticsearch_plugin: add check mode support (#3043) 8 years ago
Andrew Gaffney b69fb8a1ca Add openwrt_init module for managing services on OpenWrt (#3312) 8 years ago
Toshio Kuratomi 09c56140cd * Fix for spaces in the package spec. * Fix for python-2.6 compat 8 years ago
Toshio Kuratomi d558c55cee install dnf python bindings if possible
Fixes #14427
8 years ago
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