files/patch: improve examples (#20463)

This commit is contained in:
Fabio Alessandro Locati 2017-01-19 17:13:09 +00:00 committed by John R Barker
parent 05879d331a
commit a0abaf5409

View file

@ -91,15 +91,15 @@ note:
EXAMPLES = ''' EXAMPLES = '''
- name: apply patch to one file - name: apply patch to one file
patch: > patch:
src=/tmp/index.html.patch src: /tmp/index.html.patch
dest=/var/www/index.html dest: /var/www/index.html
- name: apply patch to multiple files under basedir - name: apply patch to multiple files under basedir
patch: > patch:
src=/tmp/customize.patch src: /tmp/customize.patch
basedir=/var/www basedir: /var/www
strip=1 strip: 1
''' '''
import os import os