markafarrell
3af4be34b2
Respect VAULT_SKIP_VERIFY envionment variable setting in hashi_vault lookup plugin ( #1024 )
...
* add skip_certificate_validation from env VAULT_SKIP_VERIFY
* use os.envrion.env instead of skip_certificat_validation
* fix typo in test
* add tests for different truthy options
* fix linting
* add changelog
* change precedence for validate_certs
* add precedence test
* fix inverted logic
* Fix documentation
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/hashi_vault.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* fix linting
* Update plugins/lookup/hashi_vault.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/hashi_vault.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-10-09 14:23:04 +02:00
Felix Fontein
e5da25915d
Improve plugin sanity ( #966 )
...
* callback_type -> type.
* Mark authors as unknown.
* Add author field forgotten in #627 .
* Fix author entries.
* Add author field forgotten in #127 .
* Fix some types.
2020-09-28 21:21:51 +02:00
Brian Scholer
ba5b86cf4a
hashi_vault - Change token_path env var loading precedence ( #902 )
...
* Change how vault token is loaded
* Add changelog for PR #902
* Update changelogs/fragments/902-hashi_vault-token-path.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/hashi_vault.py
Add version_added
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/hashi_vault.py
Add version_added
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-09-18 21:59:25 +02:00
holtwilkins
1a5702cf21
Support use of VAULT_NAMESPACE env var ( #929 )
...
As per https://learn.hashicorp.com/tutorials/vault/namespaces , setting VAULT_NAMESPACE env var is a completely supported mechanism to make all vault command use said namespace, so hashi_vault lookup function should do the same.
Co-authored-by: Holt Wilkins <hwilkins@palantir.com>
2020-09-18 21:21:41 +02:00
Benoit Bayszczak
51121e54d0
[lookup_plugin/hashi_vault] add missing 'mount_point' param for approle ( #897 )
...
* [lookup_plugin/hashi_vault] add missing 'mount_point' param for approle
* [lookup_plugin/hashi_vault] add changelog fragment
* Update changelogs/fragments/897-lookup-plugin-hashivault-add-approle-mount-point.yaml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Benoit Bayszczak <benoit.bayszczak@adevinta.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-09-17 10:19:12 +02:00
Felix Fontein
7cf472855c
Fix various sanity errors in plugins ( #881 )
...
* Fix deprecation of callables.
* Fix various sanity errors.
* Revert callback_type -> type transform.
* Fix stat_result times: these are float according to https://github.com/python/typeshed/blob/master/stdlib/3/os/__init__.pyi
* Apply suggestions from code review
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-09-16 11:06:45 +02:00
Andrew Klychkov
4c4a6ab27c
modules: fix examples to use FQCN for builtin plugins ( #661 )
2020-07-16 14:42:12 +03:00
Andrew Klychkov
c055340ecb
modules: fix examples to use FQCN for builtin modules ( #648 )
...
* modules: fix examples to use FQCN for builtin modules
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2020-07-14 18:28:08 +03:00
Abhijeet Kasurde
67ae100cee
hashi_vault: Handle equal sign in secret name value ( #537 )
...
Fixes : ansible/ansible#55658
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-06-19 14:10:11 +02:00
Felix Fontein
f16a93f976
Adjust removal versions ( #521 )
...
* Adjust 2.11 and later Ansible versions to collection versions.
* Remove unnecessary changelog.
* Adjust Ansible 2.10 to community.general 0.2.0 (first 'proper' release).
* Caught some non-properly prefixed versions.
* Update plugins/modules/database/mysql/mysql_replication.py
2020-06-16 21:24:42 +02:00
Felix Fontein
f9589d78a8
Add version_added for all new features ( #214 )
...
* Add version_added: 1.0.0 for all new features added before pre-ansible-base.
* Add version_added: 1.0.0 for all new features.
* Next release will be 0.2.0
* Fix error.
* Remove unnecessary warnings.
2020-06-13 15:01:19 +02: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
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00