Felix Fontein
6fca49f445
Don't die when docker CLI doesn't want to work with docker daemon ( #366 )
...
* Don't die when docker CLI doesn't want to work with docker daemon.
* Allow more 'docker volume ls' failures
* More.
* Fix more failures.
* Forgot ignore_errors.
* Another one.
* More places.
* Try to install newer docker on RHEL8.
* Also restrict docker-ce-cli.
2020-05-20 06:40:04 +00:00
Felix Fontein
c5b2954c30
Clean up google modules ( #351 )
...
* Clean up google modules.
* Forgot links, and to update ignore-2.10.txt.
* Fully remove _facts modules.
* Forgot to remove ignore.txt entries.
2020-05-19 20:40:43 +02:00
Felix Fontein
397920c7a2
Forgot to update ignore.txt. ( #370 )
2020-05-19 19:55:38 +02:00
Felix Fontein
0399127d11
Time filter improvements ( #359 )
...
* Adjust target directory so that ansible-test knows what to run when filters change.
* Divide by multiple instead of multiplying with product of 1/factor to improve numerical robustness.
* Allow to say what a year or month is (in days).
* Add changelog fragment announcing the time filters.
* Make sure unknown keyword args result in errors.
* Fix formatting screw-up.
2020-05-19 11:18:49 +02:00
Felix Fontein
801b1edcbe
Move unit test to right place. ( #365 )
2020-05-19 11:15:43 +02:00
Felix Fontein
edfbb40731
Moved to google.cloud in ansible-collections/google.cloud#228. ( #364 )
2020-05-19 11:15:11 +02:00
Felix Fontein
df5b73a21f
Smoketests are not needed in collections, and none exist in this collection anyway. ( #363 )
...
Also remove scripts for aws, azure and hcloud tests that aren't needed anyway.
2020-05-19 09:14:33 +02:00
Felix Fontein
a0a534508a
Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 ( #353 )
...
* Un-remove wrongly removed ovirt modules and adjust deprecation to Ansible 2.14 (regular 4 version deprecation cycle).
* Update sanity-2.10.txt
* Vendor dependencies from ovirt.ovirt as deprecated, and remove dependency on ovirt.ovirt.
* Use ovirt_facts doc_fragment, and don't add _ovirt_info doc_fragment.
2020-05-18 20:43:50 +01:00
Felix Fontein
dee1e71796
Add extra sanity tests and changelog config. ( #352 )
2020-05-18 19:36:35 +02:00
René Moser
945296f314
filter: add new time convert filter ( #347 )
...
* filter: add new time convert filters
The plugin include:
- to_seconds
- to_minutes
- to_hours
* refactor and extend
* more UX improvements
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* even more UX improvments
* fix indentation
* fix for py3
* enable aix in ci
* simplify
* add to_months, use 360d as year.
* rearrange tests
* year back to 365 days
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-18 09:54:23 +02:00
Patrick Humpal
196d3205ca
Use api v4 for airbrake deploy notices ( #124 )
...
* Use api v4 for airbrake deploy notices
* fix invalid deprecated version
changes 2.14 to 2.12
* revert
* ignore it
2020-05-17 09:42:08 +02:00
Felix Fontein
31ba39cac4
Add Fedora 32 to CI; drop Fedora 30 which is soon EOL ( #327 )
...
* Add Fedora 32 to CI; drop Fedora 30 which is soon EOL.
* Docker only supports Fedora up to 31; fortunately the 31 package seems to work for 32 too.
* Also skip for Fedora 32, as it apparently has a similar problem to Fedora 31.
ci_complete
2020-05-15 18:51:49 +02:00
Felix Fontein
1bbc88af92
Ignore invalid deprecation version numbers. ( #337 )
2020-05-14 00:02:44 +02:00
Pavlo Bashynskyi
80d41583d1
Add info command to redis module ( #286 )
...
* Add info command to redis module
* Fix sanity test
* Create a separate redis_info module
* Type of arguments in documentation was determined
* Add redis_info test
* Fix sanity test
* Add integration test
* Add integration platforms (centos7/8,fedora30/31,opensuse15+py2,ubuntu1604/1804)
* Add centos6 support
* Fix suggestions
* Add contact email
2020-05-12 20:18:24 +03:00
Andrew Klychkov
afe2946cce
postgresql_set: add trust_input parameter ( #302 )
...
* postgresql_set: add trust_input parameter
* add changelog fragment
* fix CI
2020-05-12 10:03:40 +03:00
Andrew Klychkov
31085fffb7
postgresql_ping: add session_role and trust_input parameters ( #312 )
...
* postgresql_ping: add session_role and trust_input parameters
* add changelog fragment
2020-05-12 09:34:28 +03:00
Andrew Klychkov
fce150fcf7
postgresql_copy: add trust_input parameter ( #313 )
...
* postgresql_copy: add trust_input parameter
* add changelog fragment
2020-05-12 09:33:42 +03:00
Felix Fontein
2319d928c4
Disable etcd3 tests. ( #323 )
2020-05-11 21:37:04 +02:00
Thomas O'Donnell
571837b199
Add trust_input to postgresql_user_obj_stat_info ( #310 )
...
Have added a trust_input option to the postgresql_user_obj_stat_info
module. This only checks the session_role since all other options are
passed as parameters.
2020-05-10 15:56:19 +03:00
Felix Fontein
d2b6857cd1
Update tests/unit/requirements.txt for maven_artifact ( #314 )
2020-05-09 11:03:33 +02:00
Andrew Klychkov
acc7bc1ea6
postgresql_info: add the trust_input parameter ( #308 )
...
* postgresql_info: add the trust_input parameter
* add changelog fragment
2020-05-09 11:24:20 +03:00
Andrew Klychkov
156d90ce90
postgresql_table: add the trust_input parameter ( #307 )
...
* postgresql_table: add the trust_input parameter
* add changelog fragment
2020-05-09 11:23:33 +03:00
Jon Dufresne
f2af41d842
flatpak: Change use of Popen to module.run_command() ( #274 )
...
* flatpak: Change use of Popen to module.run_command()
* Update changelogs/fragments/274-flatpak-run-command.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-05-09 10:03:04 +02:00
Andrew Klychkov
55c1ece888
postgresql modules: improve trust_input parameter's documentation, improve CI tests ( #309 )
...
* postgresql modules: improve trust_input parameter's documentation, improve CI tests
* fix CI
2020-05-09 09:25:12 +03:00
Felix Fontein
85cbc27427
Improve Ansible 2.9 compatibility ( #306 )
...
* Adjust ignore-2.9.txt.
* Workaround for load_file_common_arguments's path option (similar to ansible-collections/community.crypto#14 ).
* Add changelog.
2020-05-08 14:38:23 +01:00
Thomas O'Donnell
f887aff159
Add trust_input option to postgresql_slot module ( #298 )
...
* Add trust_input option to postgresql_slot module
Have added a trust_input option to the postgresql_slot module. This
only checks the session_role since all other options are passed as
parameters.
* Add Changelog fragment
* Update docs following PR review
2020-05-07 18:26:15 +03:00
John R Barker
f340b39bb9
Tidyup deprecations ( #195 )
...
* Tidyup deprecations
* Collections don't use a leading `_` for deprecation, they use
routing.yml instead
* Remove left over network entries
* ignore.txt
* botmeta
* review feedback
* ignore:check_matrix
* remove duplicated keys
2020-05-07 14:22:47 +02:00
Andrew Klychkov
c47a2128ca
postgresql_query: add trust_input parameter ( #294 )
...
* postgresql_query: add trust_input parameter
* add changelog fragment
* fix CI
2020-05-07 12:49:53 +03:00
Thomas O'Donnell
e4dd15a746
postgresql_sequence: add trust_input option ( #295 )
...
* Add trust_input option to postgresql_sequence
Have added the trust_input option to the postgresql_sequence module.
* Add changelog fragment
Have added a changelog fragment for these changes.
2020-05-07 09:07:49 +03:00
Andrew Klychkov
19cad71f25
postgresql_lang: add trust_input parameter ( #272 )
...
* postgresql_lan: add trust_input parameter
* add changelog fragment
2020-05-05 16:37:08 +03:00
Andrew Klychkov
e6b6c05bf7
postgresql_publication: add trust_input and session_role parameters ( #279 )
...
* postgresql_publication: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:36:14 +03:00
Andrew Klychkov
30e84111f0
postgresql_subscription: add trust_input and session_role parameters ( #280 )
...
* postgresql_subscription: add trust_input and session_role parameters
* add changelog fragment
2020-05-05 16:35:34 +03:00
Andrew Klychkov
4c14956280
postgresql_idx: add trust_input parameter ( #264 )
...
* postgresql_idx: add trust_input parameter
* add changelog fragment
2020-05-05 16:33:06 +03:00
Thomas O'Donnell
6c1c1604fb
Add optional input check to postgresql_ext ( #282 )
...
* Add optional input check to postgresql_ext
Have added a new trust_input check to the postgresql_ext module that
allows for checking the input that is passed to the module.
* Add changelog fragment
* Update tests/integration/targets/postgresql_ext/tasks/postgresql_ext_initial.yml
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-05-05 15:04:33 +03:00
Jon Dufresne
385d03a629
Document argument types for flatpak and flatpak_remote ( #270 )
2020-05-04 16:42:15 +02:00
Felix Fontein
77fe9c82fb
Avoid sanity excludes so that users can run ansible-test sanity --docker and it usually passes. ( #260 )
2020-05-01 13:45:22 +02:00
Andrew Klychkov
01eee507f2
postgresql_tablespace: add trust_input parameter ( #240 )
...
* postgresql_tablespace: add trust_input parameter
* add changelog fragment
2020-05-01 14:10:13 +03:00
Andrew Klychkov
c68f17f09b
postgresql_schema: add trust_input parameter ( #259 )
...
* postgresql_schema: add trust_input parameter
* add changelog fragment
2020-05-01 14:09:23 +03:00
Felix Fontein
72eed6a4b6
Fix bad boolean. ( #258 )
...
Triggered by ansible/ansible#67625 .
2020-04-30 22:56:46 +02:00
Andrew Klychkov
8a45044ea7
postgresql_owner: fix CI test formatting, return some disappeared comments to place ( #246 )
2020-04-29 09:07:28 +03:00
Brian Scholer
eaa484eb37
hashi_vault refresh - Add AWS login methods, bugfixes, cleanup ( #23 )
...
* hashi_vault refresh from PR in ansible/ansible/#66735
* Duplicate AWS doc fragments, remove version_added
* Restore FQCNames
* Fully qualify examples
* Add changelog for #23 hash_vault refresh
* Reduce examples below 160 chars
* Address review feedback
* Update changelogs/fragments/23-hashi-vault-lookup-refresh.yaml
Use review suggestion
Co-Authored-By: flowerysong <junk+github@flowerysong.com>
Co-authored-by: flowerysong <junk+github@flowerysong.com>
2020-04-28 11:27:37 +00:00
Andrew Klychkov
5febbca503
postgresql_owner: add trust_input parameter ( #198 )
...
* postgresql_owner: add trust_input parameter, allow to pass values containing dots to some parameters
* add changelog fragment
* fix CI
* fix CI
2020-04-28 10:42:08 +03:00
Eric Belhomme
da4e5d3592
fix broken etcd3 module integration test ( #239 )
...
* fix broken etcd3 module integration test
* rewrite etcd3 test role as role-only integration test
* etcd3 module integration test changes:
- add setup_etcd3 as dependency in meta
- skip python2.6 target as etcd3 won't install
* fix aliases
2020-04-28 08:51:10 +02:00
Andrea Scarpino
c2e37d202a
parted: support fs_type ( #221 )
...
* parted: support fs_type
Closes #135
* Update plugins/modules/system/parted.py
Co-Authored-By: Andrew Klychkov <aaklychkov@mail.ru>
* Update plugins/modules/system/parted.py
Co-Authored-By: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-04-27 18:30:48 +03:00
Felix Fontein
61ecc1fee4
Fix repo name.
2020-04-25 11:31:10 +02:00
Eric Belhomme
695eed943b
add etcd3 lookup plugin ( #127 )
...
* add etcd3 lookup plugin
* retire version_added tag
Co-Authored-By: Felix Fontein <felix@fontein.de>
* typo fixes
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fix YAML syntax in example
Co-Authored-By: Felix Fontein <felix@fontein.de>
* typo fixes
Co-Authored-By: Felix Fontein <felix@fontein.de>
* remove python shebang as it is useless in Ansible lookup module
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/etcd3.py typo
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fixes:
- replaced LookupBase._display by ansible.utils.display.Display
- add regex to retrieve host and port from ETCDCTL_ENDPOINTS env
- add env support for user, password, timeout
* fixes:
- use short form for types
- update doc section with envs
- catch exceptions between etcd3 api calls
* etcd3 lookup pass ansible sanity checks
introduce ansible integration tests for etcd3 lookup
* extract etcd3 setup from existing etcd3 module integration test
* fix etcd3 module/lookup integration tests
* fixes:
- fix port option in docstring
- raise connecttion error
- fix display format issues
- fix ETCDCTL_ENDPOINTS regex
adds:
- basic unit tests
* fix sanity issues
* add etcd3 lookup plugin
* retire version_added tag
Co-Authored-By: Felix Fontein <felix@fontein.de>
* typo fixes
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fix YAML syntax in example
Co-Authored-By: Felix Fontein <felix@fontein.de>
* typo fixes
Co-Authored-By: Felix Fontein <felix@fontein.de>
* remove python shebang as it is useless in Ansible lookup module
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/etcd3.py typo
Co-Authored-By: Felix Fontein <felix@fontein.de>
* fixes:
- replaced LookupBase._display by ansible.utils.display.Display
- add regex to retrieve host and port from ETCDCTL_ENDPOINTS env
- add env support for user, password, timeout
* fixes:
- use short form for types
- update doc section with envs
- catch exceptions between etcd3 api calls
* etcd3 lookup pass ansible sanity checks
introduce ansible integration tests for etcd3 lookup
* extract etcd3 setup from existing etcd3 module integration test
* fix etcd3 module/lookup integration tests
* fixes:
- fix port option in docstring
- raise connecttion error
- fix display format issues
- fix ETCDCTL_ENDPOINTS regex
adds:
- basic unit tests
* fix sanity issues
* changes:
- replace kwargs lookups with get_option()
- add 'entpoint' option for correct handling of ETCDCTL_ENDPOINTS env
- code simplification
* fix etcd3 lookup unit test:
replace LookupModule instanciation with lookup_loader
* fix sanity checks
* etcd3 changes:
- docstring documentation fixes/updates
- create etcd3 cnx object with a get_option() loop instead of copying 'private' class object
- set 'endpoints' option mutually exclusive with 'host' and 'port' (raises an AnsibleError exception)
* etcd3 changes:
- added ANSIBLE_METADATA,
- added default value for 'endpoints' option,
- removed defaults for options 'host' and 'port',
- fixed docstring links,
- added 'notes' and 'seealso' sections in doctring
- updated options code handling to reflect docstring's updates
* etcd3 changes:
- fix descriptions for endpoints, host, and port options
- update notes sections
- fix reference to etcd lookup plugin in seealso section
- fix return docstring
- remove useless logging
- obfuscates password in connection logging
* more pythonic lookup on dict keys
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update password obfuscation
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-04-25 10:58:06 +02:00
Felix Fontein
d31b9dfa99
Reenable consul test, fix issues with a hack ( #231 )
...
* Re-enable consul integration tests.
* Add hack workaround for https://github.com/ansible/ansible/issues/68701
* Fix typo.
ci_complete
2020-04-24 08:42:44 +02:00
Felix Fontein
703daa9500
Add small unit test framework for testing fetch_url() based modules ( #171 )
...
* Convert integrated simple fetch_url() checking framework from hetzner_firewall tests to proper framework which can also be used by other modules.
* Linting.
* One more.
* Use community.internal_test_tools collection.
2020-04-23 14:50:44 +02:00
John R Barker
23de3feedd
cisco.intersight:1.0.4
2020-04-22 15:15:09 +01:00
John R Barker
2d764264c3
cisco.intersight:1.04
...
Workaround for https://github.com/CiscoDevNet/ansible-intersight/issues/9
2020-04-22 15:00:04 +01:00