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
pull/47364/head
Eric Coulter 6 years ago committed by Sam Doran
parent e8b6864e21
commit bc5af5a775

@ -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:

Loading…
Cancel
Save