mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
ini_file: fixed case of empty section + parameter validation (#1533)
* Fixed case of empty section + parameter validation * Adjusted code for integration test, and added test case for empty section * Update changelogs/fragments/479-ini_file-empty-section.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/479-ini_file-empty-section.yaml Co-authored-by: Felix Fontein <felix@fontein.de> * Using "is changed" in integration tests, per PR review Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
4
changelogs/fragments/479-ini_file-empty-section.yaml
Normal file
4
changelogs/fragments/479-ini_file-empty-section.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
minor_changes:
|
||||
- ini_file - module now can create an empty section (https://github.com/ansible-collections/community.general/issues/479).
|
||||
bugfixes:
|
||||
- ini_file - check for parameter ``value`` if ``state`` is ``present`` and ``allow_no_value`` is ``false`` (https://github.com/ansible-collections/community.general/issues/479).
|
||||
Reference in New Issue
Block a user