From 92571e5448af7ac977aed411eabf6bfda7ac46c2 Mon Sep 17 00:00:00 2001 From: adambriand <41552559+adambriand@users.noreply.github.com> Date: Thu, 27 Feb 2020 16:13:25 -0500 Subject: [PATCH] Update blockinfile.py to change dest: to path: (#67824) --- lib/ansible/modules/files/blockinfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/files/blockinfile.py b/lib/ansible/modules/files/blockinfile.py index 7069b9f79cb..2db20fe5f79 100644 --- a/lib/ansible/modules/files/blockinfile.py +++ b/lib/ansible/modules/files/blockinfile.py @@ -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