Commit graph

28903 commits

Author SHA1 Message Date
Sloane Hertel
ff05991265
s3 - improve waiting for the bucket (#61802) 2019-09-04 14:50:08 -04:00
Nathan Swartz
4c8407fb83 Fix documentation and facts_from_proxy value in the netapp_e_facts module. (#61072) 2019-09-04 14:34:58 -04:00
Paul Belanger
44eaea9f80
Remove unused import for cisco ios facts (#61790)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-09-04 14:22:38 -04:00
Paul Belanger
736938625b
Remove unused import for vyos facts (#61784)
This is no longer needed and can be removed.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-09-04 13:54:08 -04:00
Scott Luther
0c73e47a42 fix erroneous failures in docker_compose due to deprecation warnings … (#61650)
* fix erroneous failures in docker_compose due to deprecation warnings from docker (#60961)

* Update error handling to work with new method of capturing output

Co-Authored-By: Felix Fontein <felix@fontein.de>

* update error handling

* fix syntax error

* fix indentation

* fix indentation (again)

* remove erroneous line
2019-09-04 19:34:05 +02:00
kucharskim
1dea661ce8 Allow 13 asterisk characters in password field without warning (#54893)
On OpenBSD, 13 asterisk characters as a password hash, marks the
account as disabled. Otherwise daily(8) script which executes
security(8) will email operator about not properly locked accounts.

Before the diff, we see following warning:

> [WARNING]: The input password appears not to have been hashed. The 'password' argument must be encrypted for this module to work properly.

After the diff, warning is gone.
2019-09-04 11:49:16 -04:00
Strahinja Kustudic
ee4b3b8854 Fix systemd start state with deactivating service state 2019-09-04 08:01:33 -07:00
Nilashish Chakraborty
a795f6941e Make *_bgp modules collection safe (#61761)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-09-04 10:29:00 -04:00
Sloane Hertel
91ccb03552 aws_s3 - wait for the bucket before setting ACLs (#61735)
* Wait for the bucket to become available if possible before setting ACLs
2019-09-04 09:42:28 -04:00
Florian Paul Hoberg
531e0560cb add trustcacerts option for JAVA keytool (#61750)
* add trustcacerts option for JAVA keytool

* fixed whitespace

* added type in documentation
2019-09-04 13:07:20 +01:00
Trishna Guha
c1e02d5c7a
Remove choices from gather_network_resources facts and fix negated all, min (#61362)
* remove choices from gather_network_resources facts and allow negating subset without needing to add a new subset specific for negation

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* negated all, min should not return any fact

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-09-04 16:31:10 +05:30
Sumit Jaiswal
2672dc9694
Fixes IOS L3 intermittent zuul failure (#61682)
* fix ios l3 intermittent failure

* fix self

* dict to ordered dict

* fix diff_again fn

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* remove orderdict as its expensive

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* update verify fn

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
2019-09-04 15:51:05 +05:30
Mark Chesney
01f4081b66 Fix creation of DigitalOcean droplets using digital_ocean_droplet module (#61655)
* Omit disallowed 'id' attribute in request body to create a droplet

* Add changelog fragment for PR #61655
2019-09-04 02:28:56 -04:00
Tim Rupp
2ebeadfc14 Migrate ec2_eip module to boto3 (#61575)
* Migrate ec2_eip module to boto3

This patch is a step towards the integration of several PRs that have
attempted to migrate this code

closes #55190
closes #45478

Follow-up PRs will address the outstanding changes made in #55190
2019-09-03 22:46:29 -04:00
Jiri Tyr
47ce938121 Read update file as utf-8 (#55253) 2019-09-03 21:54:10 -04:00
Bill Dodd
091ab12692 Fix issues and limitations in account mgmt commands (#58441)
* fix issues and limitations in account mgmt commands

* fix pep8 and example yaml errors

* remove new option and update option aliases

* find next empty slot when adding user via PATCH
2019-09-03 21:44:33 -04:00
Bill Dodd
088d821f75 Fix KeyError exceptions in GetLogs command (#59877)
* fix KeyError exceptions in GetLogs command

* add changelog fragment

* refine the list of LogEntry properties to collect
2019-09-03 21:44:07 -04:00
John McDonough
86b38a0ead Add ucs_query (#60607)
* Add ucs_query

* fix sanity erros

* Change version_added to 2.10
2019-09-03 21:34:46 -04:00
Orion Poplawski
a09b89f567 osx_defaults - doc tweaks (#60881)
* [osx_default] We are looking for the "defaults" executable, not "osx_defaults"

* [osx_default] Add example for setting system wide default
2019-09-03 20:16:39 -04:00
Miguel Angel Muñoz González
6cf025425e Fix Decode Bug in Py3 (#61691)
* Fix Decode Bug in Py3

* Update fortios.py

* Remove special char from name

* Ensure full compatibility when ansible is install from Py2
2019-09-03 15:37:00 -04:00
Gabriel Suarez
411b208147 Add example of "parent_group" usage in aws_ec2.py (#60430)
##### SUMMARY
Looks like the "parent_group" option in "keyed_groups" is a very recent feature that is not being documented. 
This pull request just adds a simple example of the usage of this useful feature.



##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2019-09-03 20:33:47 +01:00
Evgeniy Krysanov
9797857a67 Fix Python 2.7 compat (#58816) 2019-09-03 20:24:41 +01:00
nikkytub
5f9fe6b9c8 Removed additional fetch from config context because it is now available in the host from Netbox v2.6 onwards (#59028)
* Removed additional fetch and config context as an option as it is now available in the host from Netbox v2.6

* Added config-context as an option
2019-09-03 20:23:28 +01:00
Martin Nečas
b46e661d39 ovirt search name with space (#59184)
* init ovirt_search_name_with_space

* add search_by_name with whitespace

* add comments
2019-09-03 20:22:37 +01:00
Kurt Davis
d4147b55dd Issue #41447 - support AWS Aurora S3 privileges in mysql_user module (#59663) 2019-09-03 20:22:07 +01:00
Andrey Klychkov
fad405ac42 postgresql: Move PgMembership to module_utils (#61598)
* postgresql: move PgMembership to module_utils

* postgresql: move PgMembership to module_utils, optimize logic
2019-09-03 20:14:09 +01:00
Yuji Konishi
7c92c4214c Fixes #59613 (#60041) 2019-09-03 15:08:08 -04:00
ETNyx
5d7d4a93c8 docs: Update apt_key.py add requirements of gpg (#61552)
* docs: Update apt_key.py add requirements of gpg. The module needs to have gpg installed, otherwise it will end up with error {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

Co-Authored-By: John R Barker <john@johnrbarker.com>
2019-09-03 13:53:44 -05:00
John R Barker
763fa4e85f
version_added: '2.10' for post branch commits (#61678)
Due to bot automerge a few PRs were merged before version_added had been updated.

https://github.com/ansible/ansible/pull/61674
2019-09-03 19:53:10 +01:00
Cristian Dascalu
47b9c5bf04 Ecs taskdefinition secrets (#60112)
* adding specific examples for using environment and secrets in the container definition
2019-09-03 11:17:22 -05:00
Theo Ouzhinski
9c1dc0ea7f grafana_plugin: update documentation (#60600) 2019-09-03 12:10:47 -04:00
Andrej Svenke
bdc87a5651 datadog_monitor: Add process alert support (#60325) 2019-09-03 12:10:07 -04:00
Rob White
a10606484c Fix required_together statement - access_logs_s3_prefix is not required as per the documentation (#52017) 2019-09-03 11:26:38 -04:00
Yves Martin
c4fd2096bf Fix examples for bigip_file_copy (#61686) 2019-09-03 11:16:31 -04:00
Abhijit Menon-Sen
ca3078de5f
Remove duplicated word
We print "%s success", so there's too much success going on.
2019-09-03 20:31:40 +05:30
Yannis Ansermoz
bcbcac3bd8 net_user documentation typo configured_password (#61556)
password -> configured_password in the last example
2019-09-03 10:00:20 -05:00
Wojciech Sciesinski
4b9b5d3745 Remove unnecessary information (#61657) 2019-09-03 15:47:20 +01:00
Tahir Akhtar
58acc8d082 Clarity on mutual exclusion of Username and Token (#61668)
##### SUMMARY
Although there is an example showing that username is not required with personal access token, it will be nice to more clearly state in options description. 
##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2019-09-03 15:41:42 +01:00
Simon Legner
7dbd6116d8 Fix typesetting of "GitLab" (#61702) 2019-09-03 09:22:26 -05:00
Tomáš Karásek
74e6c460b4 Fix missing pass of IPXe params to API client call, fixes #32910 (#32912) 2019-09-03 10:07:15 -04:00
Roland Wolters
9744ce1e1d Rename checkpoint to check_point due to legal reasons, fix #61145 (#61172)
* Fix #61145

* Fix type keyword

* Removed file fragment
2019-09-03 19:05:50 +05:30
Bradley A. Thornton
39f35ac5bb Fix network resource module wording and typographical errors (#61613) 2019-09-03 09:11:46 -04:00
Nathaniel Case
d20d10b5c5
Avoid infinite recursion on login (#61617) 2019-09-03 08:55:20 -04:00
jotai73
447c7d9ff0 Update homebrew_cask example docs (#61637)
Changed homebrew_cask module flag from "allow_external_apps" to "accept_external_apps" in example section
2019-09-03 16:56:29 +05:30
David Gallegos
68f9cd14cb feat: support postgres 11 in azure_rm_postgresqlserver (#58727) 2019-09-03 14:00:33 +08:00
Abhijeet Kasurde
e7c6134fd0
VMware: Fix get_tags_for_vm API in vmware_vm_info module (#61697)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-09-03 11:25:16 +05:30
Alexandre Mulatinho
e4d72dd981 luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603)
* luks_device.py: Allow manipulate LUKS containers with label or UUID

- Allow create a LUKS2 container format with label support
- Allow manipulate (open, close, modify) an LUKS container based on
  both label (LUKS2 format) or UUID instead of using devices only.

Fixes: #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* test_luks_device.py: organizing tests to support labels

- Add label on some tests and fix errors reported by Shippable

Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* luks_device.py: adjusting versions and messages

- Modifying version_added from 2.9 to 2.10
- Fixing some messages
- Created a changelog fragment
- Moving blkid from scope

Fixes #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
2019-09-03 05:40:09 +02:00
Vitalii Kostenko
6f7cd8370a Ansible FTD Module improvements and tests update. (#60640)
* Ansible FTD Module improvements and tests update.

* Fix sanity tests

* Fix formatting
2019-09-03 08:38:11 +05:30
Christian Fetzer
7197c41fff influxdb: Add support for 'path' parameter (#61173)
While it's possible to host InfluxDB on a different path prefix
(through a reverse proxy such as nginx or traefik), the Ansible
influxdb_* modules did't support that use case.

The patch adds a 'path' parameter, which is passed to the influxdb
Python client.

Example for connecting to InfluxDB running on http://localhost/influxdb

    - hosts: all
      tasks:
        - influxdb_database:
            database_name: test
            path: influxdb
            port: 80
2019-09-02 22:17:25 +02:00
Martin Krizek
9ccef9e819 perf: reduce getting handler variables (#59969)
* perf: reduce getting handler variables

ci_complete

* Do not re-create templar
2019-09-02 10:57:08 -04:00