mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
f5594aefd5
* influxdb_retention_policy: add state option to module argument spec
* influxdb_retention_policy: simplify duration parsing logic (suggested in #2284)
* add changelog
* fix documentation and changelog
* add constants for duration and sgduration validations
* restyle ansible module spec
Co-authored-by: Felix Fontein <felix@fontein.de>
* improve changelog
Co-authored-by: Felix Fontein <felix@fontein.de>
* set changed result in check mode for state absent
* remove required flag in optional module arguments
* influxdb_retention_policy: improve examples readability
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 83a0c32269
)
Co-authored-by: Xabier Napal <xabiernapal@pm.me>
6 lines
387 B
YAML
6 lines
387 B
YAML
minor_changes:
|
|
- influxdb_retention_policy - add ``state`` parameter with allowed values
|
|
``present`` and ``absent`` to support deletion of existing retention policies
|
|
(https://github.com/ansible-collections/community.general/issues/2383).
|
|
- influxdb_retention_policy - simplify duration logic parsing
|
|
(https://github.com/ansible-collections/community.general/pull/2385).
|