mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Update documentation for marker (#47292)
Using blockinfile with a custom marker lacking {mark} results in non-idempotency - block is repeatedly inserted on subsequent playbook runs.
+label: docsite_pr
This commit is contained in:
@@ -40,6 +40,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- The marker line template.
|
- The marker line template.
|
||||||
- C({mark}) will be replaced with the values C(in marker_begin) (default="BEGIN") and C(marker_end) (default="END").
|
- C({mark}) will be replaced with the values C(in marker_begin) (default="BEGIN") and C(marker_end) (default="END").
|
||||||
|
- Using a custom marker without the C({mark}) variable may result in the block being repeatedly inserted on subsequent playbook runs.
|
||||||
type: str
|
type: str
|
||||||
default: '# {mark} ANSIBLE MANAGED BLOCK'
|
default: '# {mark} ANSIBLE MANAGED BLOCK'
|
||||||
block:
|
block:
|
||||||
|
|||||||
Reference in New Issue
Block a user