From 6290a7c5952392bf85a98e4503bd38503a3b75b1 Mon Sep 17 00:00:00 2001 From: fluxcess Date: Mon, 2 Jul 2018 16:10:27 +0200 Subject: [PATCH] added description (#42187) Added description to one of the really basic code examples +label: docsite_pr --- lib/ansible/modules/files/lineinfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 1da7c500fb..5904c25506 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -131,6 +131,7 @@ EXAMPLES = r""" state: absent regexp: '^%wheel' +# Searches for a line that begins with 127.0.0.1 and replaces it with the value of the 'line' parameter - lineinfile: path: /etc/hosts regexp: '^127\.0\.0\.1'