patchback[bot]
fef77b3c9c
[PR #5811/bf117c83 backport][stable-5] Clarify Error message when bitwarden vault not unlocked ( #5877 )
...
Clarify Error message when bitwarden vault not unlocked (#5811 )
* Clarify Error message when vault not unlocked
You can be logged into the Bitwarden-CLI, but it can still be locked. This took me several hours to debug, since every time I ran 'bw login' it told me, that I am already logged in.
If you run 'bw unlock' without being logged in, you are prompted to log in.
This clarifies the Error occurring and can drastically reduce debugging time, since you don't have to look into the source code to get an understanding of whats wrong.
* RM: negation
Nobody needs negation
* Update function name
* FIX: tests
* ADD: changelog
* Update changelogs/fragments/5811-clarify-bitwarden-error.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit bf117c839c
)
Co-authored-by: Christoph <29735603+Chr1s70ph@users.noreply.github.com>
2023-01-22 17:46:41 +01:00
patchback[bot]
0d598c3542
Fix more copyright lines, add more default copyright lines ( #5095 ) ( #5096 )
...
* Fix copyright lines.
* Add default copyright line.
(cherry picked from commit 424d706f92
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-08 15:19:46 +02:00
patchback[bot]
a125458748
Add more license statements ( #5079 ) ( #5088 )
...
* Add more license statements. These were modified manually incorporating existing data.
* Remove accidentally added line.
(cherry picked from commit 2a9fd7359f
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-07 12:03:49 +00:00
Felix Fontein
22a400d626
Add default license header to files which have no copyright or license header yet ( #5074 ) ( #5075 )
...
* Add default license header to files which have no copyright or license header yet.
* yml extension should have been xml...
(cherry picked from commit 1ab2a5f1bc
)
2022-08-05 20:16:36 +02:00
patchback[bot]
203747027e
Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt ( #5065 ) ( #5068 )
...
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
(cherry picked from commit 123c7efe5e
)
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-08-05 13:17:19 +02:00
patchback[bot]
767a296b60
New lookup plug-in: bitwarden ( #5012 ) ( #5049 )
...
* Basic support for Bitwarden lookups
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Update plugins/lookup/bitwarden.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/bitwarden.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/bitwarden.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: jonathan lung <lungj@heresjono.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit ab0cd83bb1
)
Co-authored-by: Jonathan Lung <lungj@users.noreply.github.com>
2022-08-01 11:52:05 +02:00
patchback[bot]
2846242e95
lastpass lookup: use config manager, improve documentation ( #5022 ) ( #5047 )
...
* LastPass lookup: use config manager, improve documentation
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/5022-lastpass-lookup-cleanup.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: jonathan lung <lungj@heresjono.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit e8e6b9bbd7
)
Co-authored-by: Jonathan Lung <lungj@users.noreply.github.com>
2022-08-01 09:59:36 +02:00
RevBits, LLC
25e80762aa
RevBits PAM Secret Server Plugin ( #3405 )
...
* RevBits PAM Secret Server Plugin
* Update revbitspss.py
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fixes based on feedback from Ansible
* Fixes for auto tests
* module updated
* f string changed
* maintainer added
* maintainer added
* maintainer added
* review updates
* test added
* test added
* test added
* revisions updtes
* revisions updtes
* revisions updtes
* file removed
* unit test added
* suggestions updated
* suggestions updated
* Update plugins/lookup/revbitspss.py
* Update plugins/lookup/revbitspss.py
* Update plugins/lookup/revbitspss.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Zubair Hassan <zubair.hassan@invozone.com>
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2021-11-22 13:49:51 +01:00
Ajpantuso
cbcb942b0e
tss_lookup_plugin - Refactor and decoupling ( #3252 )
...
* Initial commit
* Adding changelog fragment
* Applying initial review suggestions
* Increasing unit coverage
* Removed unneccessary constant
* Improving test readability
* Cleanup constants
2021-08-25 06:41:05 +02:00
Felix Fontein
eea4f45965
Add dependent lookup plugin ( #2164 )
...
* Add dependent lookup plugin.
* Use correct YAML booleans.
* Began complete rewrite.
* Only match start of error msg.
* Improve tests.
* Work around old Jinja2 versions.
* Fix metadata.
* Fix filter name.
2021-05-11 19:27:05 +02:00
Adam C. Migus
a424ee71e3
Add Thycotic DevOps Secrets Vault lookup plugin ( #90 )
...
* Add the Thycotic DevOps Secrets Vault lookup plugin.
* Update plugins/lookup/dsv.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/dsv.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Update plugins/lookup/dsv.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Fix import error check per code review.
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add a unittest for plugins/lookup/dsv.py
* Add copyrights.
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Fixed formatting bug in test_dsv.py
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-07-13 05:45:07 +00:00
Adam C. Migus
4c6e2f2a40
Add the Thycotic Secret Server lookup plugin. ( #91 )
...
* Add the Thycotic Secret Server lookup plugin.
* Update plugins/lookup/tss.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Fix import error check per code review.
* Apply suggestions from code review
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Trivial changes based on suggestions from code review.
* Add a unittest for plugins/lookup/tss.py
* Add copyrights.
* Fixed formatting bug in test_tss.py
* Fix formatting bugs in tss.py and test_tss.py
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-07-13 07:37:20 +02:00
anshulbehl
cca84abeb5
conjur_variable: redirecting to correct collection ( #570 )
...
* - Redirecting to correct collection
- Removing the plugin and adding changelog and deprecation
* Making suggested changes
* Earlier version on leftovers
* Update changelogs/fragments/cyberarkconjur-removal.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-06-30 07:36:08 +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
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
Felix Fontein
76880e2403
Fix more plugin unit tests. ( #51 )
2020-03-25 22:37:34 +00:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00