mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 16:23:10 +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:
|
||||
- The marker line template.
|
||||
- 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
|
||||
default: '# {mark} ANSIBLE MANAGED BLOCK'
|
||||
block:
|
||||
|
||||
Reference in New Issue
Block a user