1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-15 16:31:30 +00:00
community.general/tests/integration/targets/ini_file/tasks/tests
Gonéri Le Bouder c76af60a73
ini_file: Don't creates new file instead of following symlink (#6546)
* ini_file: Don't creates new file instead of following symlink

This is a bug fix that address a situation where `community.general.ini_file`
was destroying symlinks instead of updating of updating their targets.

Closes: #6470

* ini_file: add the follow parameter

If `poth` points on a symlink and `follow` is true, the `ini_file` plugin
will preserve the symlink and modify the target file.

* adjust the documentation of the new key

- yes/no -> true/false.
- new key will be introduced in 7.1.0.
- clean up the `state=link` part.
2023-05-29 18:56:06 +02:00
..
00-basic.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
01-value.yml Normalize bools in tests (#5996) 2023-02-15 22:55:23 +01:00
02-values.yml Normalize bools in tests (#5996) 2023-02-15 22:55:23 +01:00
03-encoding.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
04-symlink.yml ini_file: Don't creates new file instead of following symlink (#6546) 2023-05-29 18:56:06 +02:00