From 5fee43e0c1466dd1561e6f3d25bb59835bc64197 Mon Sep 17 00:00:00 2001 From: tdram <948929+tdram@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:11:19 +0530 Subject: [PATCH] Update faq.rst Using `backup_file` gives error as the filename is now changed to `backup` in newer Ansible versions. Please update. --- docs/docsite/rst/reference_appendices/faq.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/reference_appendices/faq.rst b/docs/docsite/rst/reference_appendices/faq.rst index 3e11695088a..e7e2f2d7d4e 100644 --- a/docs/docsite/rst/reference_appendices/faq.rst +++ b/docs/docsite/rst/reference_appendices/faq.rst @@ -866,12 +866,12 @@ and backups, which most file based modules also support: copy: remote_src: true dest: /x/y/z - src: "{{ updated['backup_file'] }}" + src: "{{ updated['backup'] }}" when: updated is changed always: - name: We choose to always delete backup, but could copy or move, or only delete in rescue. file: - path: "{{ updated['backup_file'] }}" + path: "{{ updated['backup'] }}" state: absent when: updated is changed