-
Notifications
You must be signed in to change notification settings - Fork 10
Feature: Certificate passphrase check #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
danopt
wants to merge
52
commits into
main
Choose a base branch
from
feature/crt_passphrase_check
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
d4e2a3f
Added skeleton of new object
danopt d274cd5
Revert commits
danopt a470fde
Revert commits
danopt c06d900
Corrected parameter
danopt 0a2b827
Added parameter passphrase_check to module
danopt 6dc347e
Catched wrong passphrases with an exception
danopt bb117f1
Added task in molecule tests for passphrase_check
danopt 0bc0a59
Added condition to load certificate info only if passphrase_check is …
danopt 7d3c4cb
Added condition to map certificate only if loaded
danopt 6cd2807
Added passphrase_check parameter to molecule task
danopt d88212f
Added a condition to fail module if passphrase_check is false
danopt f39d88f
Set no_log for new parameter
danopt 932b330
Privatized passphrase_check variable
danopt 048704e
Privatized pkcs12_data variable
danopt da01eac
Added passphrase_check key value to result dict seeded for Ansible mo…
danopt 0e81e58
Corrected key value for passphrase_check in results dict
danopt 6267d87
Added task to molecule scenario to check correct passphrase in passph…
danopt ea70b6d
Set passphrase_check result if mode is disabled
danopt 5b543cb
Only map certificate if passphrase_check mode is disabled
danopt 630fb4a
Optimized code by 2 lines
danopt b3535e1
Added unit tests
danopt 47b1f4d
Revert last commit
danopt 0c50189
Redesigned checks in unit tests
danopt 9b7ebbf
Typo
danopt 8ce9d6a
Debug
danopt a78a42b
Debug
danopt 64eb7c9
Debug
danopt a4e27b8
Debug
danopt 521be99
Debug
danopt ceacd1d
Fixed argument check
danopt e25fe8f
Removed print statement
danopt 70d8dce
Removed redundant exceptions in cert_info module
danopt fbe5871
Test functionallity of unit test again
danopt e6b11f3
Removed debug test
danopt a8a8258
Merge branch 'main' into feature/crt_passphrase_check
danopt e85a6b8
Added documentation for new parameter
danopt 562801b
Merge branch 'feature/crt_passphrase_check' of github.com:NETWAYS/ans…
danopt 3d61904
Updated plugins overview
danopt 002f6d2
Fixed typo
danopt 8773c07
Fixed typo
danopt 1ed7144
Fixed typo
danopt 75a64bb
Fixed typo
danopt 6ef199c
Fixed typo
danopt 1005029
Typo - Update README.md
danopt e2fab52
Added comment to unit tests
danopt c01a203
Merge branch 'main' into feature/crt_passphrase_check
danopt 7f7ce15
Added merge_group to GitHub Action
danopt ebc2249
Merge branch 'feature/crt_passphrase_check' of github.com:NETWAYS/ans…
danopt 0a22093
Merge branch 'main' into feature/crt_passphrase_check
danopt d70cb58
Specified branch in merge_group
danopt 69ac901
Removed merge_group from test_plugins.yml
danopt 3b538d2
Merge branch 'main' into feature/crt_passphrase_check
danopt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,8 @@ | ||
# Collections Plugins Directory | ||
|
||
This directory can be used to ship various plugins inside an Ansible collection. Each plugin is placed in a folder that | ||
is named after the type of plugin it is in. It can also include the `module_utils` and `modules` directory that | ||
would contain module utils and modules respectively. | ||
|
||
Here is an example directory of the majority of plugins currently supported by Ansible: | ||
|
||
``` | ||
└── plugins | ||
├── action | ||
├── become | ||
├── cache | ||
├── callback | ||
├── cliconf | ||
├── connection | ||
├── filter | ||
├── httpapi | ||
├── inventory | ||
├── lookup | ||
├── module_utils | ||
├── modules | ||
├── netconf | ||
├── shell | ||
├── strategy | ||
├── terminal | ||
├── test | ||
└── vars | ||
``` | ||
|
||
A full list of plugin types can be found at [Working With Plugins](https://docs.ansible.com/ansible-core/2.13/plugins/plugins.html). | ||
# `netways.elasticstack` Plugins Directory | ||
|
||
## Overview | ||
- [module_utils](https://github.com/NETWAYS/ansible-collection-elasticstack/tree/main/plugins/module_utils) | ||
- [`certs` module util](https://github.com/NETWAYS/ansible-collection-elasticstack/tree/main/plugins/module_utils) | ||
- [modules](https://github.com/NETWAYS/ansible-collection-elasticstack/tree/main/plugins/modules) | ||
- [`cert_info` module](https://github.com/NETWAYS/ansible-collection-elasticstack/tree/main/plugins/modules) | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.