forked from IBM-Blockchain/ansible-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove operation parameter from channel_block module (resolves IBM-Bl…
…ockchain#272) The `operation` parameter in the `channel_block` module only has one option, `fetch`. Remove the `operation` parameter from this module and make it like any other Ansible module by having a `state` parameter instead. When `state` is set to `present`, ensure that the block is fetched from the specified channel and stored at `path`. When `state` is set to `absent`, ensure that there is no block stored at `path`. These changes are compatible because any existing `operation` parameters will be ignored, and the `state` parameter defaults to `present`, preserving existing behaviour. Signed-off-by: Simon Stone <[email protected]>
- Loading branch information
Simon Stone
committed
Mar 25, 2021
1 parent
8ed8a48
commit 432e2fa
Showing
1 changed file
with
80 additions
and
70 deletions.
There are no files selected for viewing
This file contains 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