diff options
author | Sloane Hertel <19572925+s-hertel@users.noreply.github.com> | 2022-11-03 15:10:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 12:10:45 -0700 |
commit | f700047e69a03917194d1ec9f6d73577013362ce (patch) | |
tree | 6b3c52735c7c0c36f3a6f8277c9f36fc0f06717e | |
parent | a12a9b409f964a911c7348e85035475fd6eab0b4 (diff) | |
download | ansible-f700047e69a03917194d1ec9f6d73577013362ce.tar.gz |
blockinfile - document multiline marker behavior (#79292)
-rw-r--r-- | lib/ansible/modules/blockinfile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ansible/modules/blockinfile.py b/lib/ansible/modules/blockinfile.py index 2f91441847..63fc021454 100644 --- a/lib/ansible/modules/blockinfile.py +++ b/lib/ansible/modules/blockinfile.py @@ -36,6 +36,8 @@ options: - The marker line template. - C({mark}) will be replaced with the values in C(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. + - Multi-line markers are not supported and will result in the block being repeatedly inserted on subsequent playbook runs. + - A newline is automatically appended by the module to C(marker_begin) and C(marker_end). type: str default: '# {mark} ANSIBLE MANAGED BLOCK' block: |