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
Andrew Klychkov
bb459cb014
postgresql_user: add scram-sha-256 password support ( #100 )
...
* postgresql_user: add support for scram-sha-256 passwords
* postgresql_user: add support for scram-sha-256 passwords
* add changelog fragment
* fix
2020-04-22 12:45:14 +01:00
Andrew Klychkov
3b5520ebf7
mysql_db: add use_shell parameter to prevent Broken pipe errors ( #151 )
...
* mysql_db: prevent broken pipe errors by using an intermediate shell process
* use module.run_command()
* mysql_db: add use_shell parameter
* add changelog fragment
2020-04-20 18:46:54 +03:00
Andrew Klychkov
5b1652e8fa
postgresql_db: add trust_input parameter ( #184 )
2020-04-20 09:38:35 +03:00
Andrew Klychkov
764cae9f33
postgresql_privs: add trust_input parameter ( #177 )
...
* postgresql_privs: add trust_input parameter
* add changelog fragment
2020-04-20 09:01:42 +03:00
Michal Middleton
0c0490298f
Slack: Add bot/user token support, correct thread_ts support ( #123 )
...
* Slack: Add bot/user token support, correct thread_ts support
Add support for user/bot/application tokens (and Slack WebAPI).
Fix input type for thread_id, which needs to be string.
Return thread_ts/thread_id when user/bot tokens are used, so they can be reused later
* Slack: Add changelog fragment, fix YAML syntax
Co-authored-by: Middleton, Michal <Michal.Middleton@concur.com>
2020-04-17 12:44:55 +01:00
eryx12o45
e3e6c6167e
Added ldap_search module for searching in LDAP servers ( #126 )
...
* fix CI
* Added ldap_search module for searching in LDAP servers
* Fixes from pipeline
* Fixed second script as well
* fix DOCUMENTATION block
* fix DOCUMENTATION block
* fix DOCUMENTATION block
* fix examples and remove changelog fragment
* Added integration tests for ldap_search
* fixes
Co-authored-by: Sebastian Pfahl <sebastian.pfahl@dcso.de>
2020-04-17 10:53:37 +02:00
Jesse Pretorius
f0391bd58a
Remove remaining libvirt content ( #180 )
...
This content has been moved to:
https://github.com/ansible-collections/libvirt
ref:
https://github.com/ansible/ansible/issues/67344
https://github.com/ansible-collections/overview/issues/8
2020-04-14 17:46:51 +02:00
Andrew Klychkov
4ad6ff50cd
postgresql_membership: add trust_input parameter ( #158 )
...
* postgresql_membership: add trust_input parameter
* add changelog fragment
* add session_role to check
2020-04-14 16:45:36 +03:00
René Moser
ec52007c8d
cloudstack migrated to dedicated collection ngine_io.cloudstack ( #173 )
...
* cloudstack migrated to dedicated collection ngine_io.cloudstack
* remove leftovers
* remove more leftovers
2020-04-14 07:33:10 +02:00
René Moser
6ccf3682ac
vultr migrated to dedicated collection ngine_io.vultr ( #172 )
...
* vultr migrated to dedicated collection ngine_io.vultr
* remove leftover dead symlink
2020-04-13 20:35:34 +02:00
Abhijeet Kasurde
dccd998be0
Moved OpenStack inventory script to OpenStack collection ( #160 )
...
Moved Openstack inventory script to OpenStack Collection at
https://opendev.org/openstack/ansible-collections-openstack
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-13 12:44:25 +02:00
lx
4ebb65e6f6
Add param for doc/fragments/alicloud ( #108 )
2020-04-13 08:23:38 +02:00
Andrew Klychkov
6d7f66539c
postgresql_user: add trust_input parameter ( #116 )
...
* postgresql: add input checks for potentially dangerous substrings
* postgresql_user: add trust_input parameter
* add CI, add changelog fragment
* fix CI
* moved input patterns outside is_input_dangerous function
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* Update plugins/module_utils/database.py
Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com>
* fix
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-12 13:16:44 +02:00
Andrew Klychkov
dd1bb708d3
mysql_user: add resource_limits parameter ( #142 )
...
* mysql_user: add resource_limits parameter
* add CI test
* added changelog fragment
* skip opensuse
* remove skip/suse
2020-04-12 09:43:56 +05:30
Felix Fontein
63b6b8a9d3
Update testing ( #147 )
...
* Remove superfluous requirements file.
* Update RHEL 7.6 to RHEL 7.8 in CI.
* Fix docker install.
* ci_complete
2020-04-10 16:26:24 +01:00
Andrew Klychkov
758561070a
mysql_info: added spaces to CI tests ( #146 )
...
* mysql_info: added spaces to CI tests
* added comments
* added comments
2020-04-10 11:30:39 +03:00
Rick Elrod
6dd5cb5dea
Fix tests for OpenSUSE 15.1 ( #139 )
...
* [zypper] Fix tests for OpenSUSE 15.1
Signed-off-by: Rick Elrod <rick@elrod.me>
* [setup_mysql_db] Fix tests for OpenSUSE 15.1
Signed-off-by: Rick Elrod <rick@elrod.me>
* Update tests/integration/targets/setup_mysql_db/tasks/main.yml
* Re-enable zypper_repository tests.
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-04-09 15:24:23 +02:00
Felix Fontein
a415ed9b1f
Stop using custom branch to avoid full CI run on changelog fragments. ( #141 )
2020-04-09 12:21:27 +02:00
Felix Fontein
1625429f74
Adjust name of ovirt dependency ( #132 )
...
* Adjust name of ovirt dependency.
* Fix module imports.
* Add ovirt.ovirt dependency with version 1.0.0 (released today).
2020-04-08 11:32:36 +01:00
Felix Fontein
439492c379
Temporarily disable consul test. ( #128 )
2020-04-07 21:56:51 +01:00
Sloane Hertel
11ef03e9dd
Remove the params module option from ldap_attr and ldap_entry ( #113 )
...
* Remove the params module option from ldap_attr and ldap_entry
Module options that circumvent Ansible's option handling were disallowed
in:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html
Additionally, this particular usage can be insecure if bind_pw is set
this way as the password could end up in a logfile or displayed on
stdout.
Fixes CVE-2020-1746
* Remove checking the version of Ansible
Fix fail_json
* Apply suggestions from code review
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-04-06 18:13:04 +02:00
Abhijeet Kasurde
645fe91fa3
homebrew: Honor update_homebrew value ( #112 )
...
Added environment variable to honor update_homebrew argument specified
by user.
Fixes : ansible/ansible#56650
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-05 09:23:56 +01:00
Matt Martz
d9420f88bc
Migrate apt_repo to community.general ( #102 )
...
* Migrate apt_repo to community.general
* nuke version_added
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-04-02 17:50:13 +02:00
Felix Fontein
3b1bca1f71
Network removal cleanup ( #92 )
...
* Reduce requirements.
* Remove unit test group 2.
* Reduce to four sanity groups.
* Fix paths.
2020-04-02 10:56:38 +01:00
Felix Fontein
76b26de108
Fix ignore.txt ( #97 )
2020-04-02 09:24:30 +02:00
Felix Fontein
e2af49efa4
Temporarily disable zypper_repository tests. ( #96 )
2020-04-02 09:12:41 +02:00
Felix Fontein
422014860b
Add validate-module ignores until ansible/ansible#67684 is merged and metadata updated. ( #94 )
2020-04-02 08:54:06 +02:00
John R Barker
c313c825f4
[wip] Remove network content ( #84 )
...
* rebase
* remove broken symlinks
* more deletes
* restore cs_* integration tests
* More deletes - from Felix
* cs_common
* Remove some more ignores
2020-04-01 21:34:05 +02:00
Florian Apolloner
8d203225d3
Fixed mysql_user idempotency for long privilege lists. (Fixes ansible/#68044) ( #58 )
2020-04-01 17:31:53 +02:00
René Moser
0205adef24
cloudstack: ci: wait for sys template available ( #78 )
...
* cloudstack: ci: wait for sys template available
* gather all templates
* smoke test VM
2020-03-31 16:08:51 +02:00
Felix Fontein
74d83d8e94
supervisorctl tests: shorten path to .sock file to make OSX happy. ( #77 )
2020-03-31 10:52:24 +02:00
Felix Fontein
be191cce6c
Move modules and module_utils unit tests to correct place ( #81 )
...
* Move modules and module_utils unit tests to correct place.
* Update ignore.txt
* Fix imports.
* Fix typos.
* Fix more typos.
2020-03-31 10:42:38 +02:00
Felix Fontein
6172e56b62
Fix netapp modules ( #76 )
...
* Replace missing netapp parts with own copy.
* Localize final fragment.
* Mark netapps docs fragment as deprecated.
* Drop dependency on netapp.ontap.
* Remove all netapp_e_* modules.
* Remove docs fragment.
2020-03-31 09:41:29 +02:00
Abhijeet Kasurde
273a678771
homebrew_cask: Follow up changes ( #32 )
...
Follow up changes recommended in code review
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-03-30 19:15:17 +02:00