mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07: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:
parent
39bf187a25
commit
2b824f2d7b
3 changed files with 65 additions and 24 deletions
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).
|
Loading…
Add table
Add a link
Reference in a new issue