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:
parent
e8b6864e21
commit
bc5af5a775
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue