Update blockinfile.py to change dest: to path: (#67824)

This commit is contained in:
adambriand 2020-02-27 16:13:25 -05:00 committed by GitHub
parent d7546ba336
commit 92571e5448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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