Update blockinfile.py to change dest: to path: (#67824)
This commit is contained in:
parent
d7546ba336
commit
92571e5448
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ EXAMPLES = r'''
|
|||
- name: Insert/Update configuration using a local file and validate it
|
||||
blockinfile:
|
||||
block: "{{ lookup('file', './local/sshd_config') }}"
|
||||
dest: /etc/ssh/sshd_config
|
||||
path: /etc/ssh/sshd_config
|
||||
backup: yes
|
||||
validate: /usr/sbin/sshd -T -f %s
|
||||
|
||||
|
|
Loading…
Reference in a new issue