mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 22:30:22 -07:00
Fix code-blocks to use correct syntax highlighting
This commit is contained in:
parent
01849004e9
commit
08d6990e67
20 changed files with 244 additions and 223 deletions
|
@ -121,7 +121,7 @@ options:
|
|||
'''
|
||||
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r'''
|
||||
# Recursively find /tmp files older than 2 days
|
||||
- find:
|
||||
paths: "/tmp"
|
||||
|
@ -149,9 +149,11 @@ EXAMPLES = '''
|
|||
size: "10m"
|
||||
|
||||
# find /var/log files equal or greater than 10 megabytes ending with .old or .log.gz via regex
|
||||
# Note that yaml double quotes require escaping backslashes but yaml single
|
||||
# quotes do not.
|
||||
- find:
|
||||
paths: "/var/tmp"
|
||||
patterns: "^.*?\.(?:old|log\.gz)$"
|
||||
patterns: "^.*?\\.(?:old|log\\.gz)$"
|
||||
size: "10m"
|
||||
use_regex: True
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue