From 87ba1e29d3ca1aec2d05782e0fe9a33c82701e62 Mon Sep 17 00:00:00 2001 From: rawtaz Date: Thu, 25 Aug 2022 21:17:23 +0200 Subject: [PATCH] doc: Correct mixed up commentary and task name (#78610) Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> --- lib/ansible/modules/replace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/replace.py b/lib/ansible/modules/replace.py index 6dfd6779274..4b8f74f5620 100644 --- a/lib/ansible/modules/replace.py +++ b/lib/ansible/modules/replace.py @@ -110,7 +110,7 @@ notes: ''' EXAMPLES = r''' -- name: Before Ansible 2.3, option 'dest', 'destfile' or 'name' was used instead of 'path' +- name: Replace old hostname with new hostname (requires Ansible >= 2.4) ansible.builtin.replace: path: /etc/hosts regexp: '(\s+)old\.host\.name(\s+.*)?$'