mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-03 00:43:07 +00:00
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.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 6502-cobbler-inventory_hostname.yml | ||
| 6512-cpanm-default-mode.yml | ||
| 6513-opkg-default-force.yml | ||
| 6520-mas-disable-signin.yaml | ||
| 6522-copr-respawn.yaml | ||
| 6523-datadog-monitor-notification-preset-name-and-renotify.yaml | ||
| 6525-sorcery-import.yaml | ||
| 6539-semantic-markup.yml | ||
| 6568-fix-get-user-by-username-in-keycloak-module-utils.yml | ||
| ini_file-preserve-symlink.yml | ||