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

pull/67841/head
adambriand 5 years ago committed by GitHub
parent d7546ba336
commit 92571e5448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,7 +120,7 @@ EXAMPLES = r'''
- name: Insert/Update configuration using a local file and validate it - name: Insert/Update configuration using a local file and validate it
blockinfile: blockinfile:
block: "{{ lookup('file', './local/sshd_config') }}" block: "{{ lookup('file', './local/sshd_config') }}"
dest: /etc/ssh/sshd_config path: /etc/ssh/sshd_config
backup: yes backup: yes
validate: /usr/sbin/sshd -T -f %s validate: /usr/sbin/sshd -T -f %s

Loading…
Cancel
Save