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+.*)?$'