mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 08:01:24 -07:00
Validate EXAMPLES as YAML
This commit is contained in:
parent
499d3a1b53
commit
7c00346714
112 changed files with 441 additions and 381 deletions
|
@ -244,7 +244,7 @@ EXAMPLES = '''
|
|||
links: yes
|
||||
|
||||
# Synchronization of two paths both on the control machine
|
||||
- synchronize
|
||||
- synchronize:
|
||||
src: some/relative/path
|
||||
dest: /some/absolute/path
|
||||
delegate_to: localhost
|
||||
|
@ -282,9 +282,9 @@ EXAMPLES = '''
|
|||
rsync_path: "su -c rsync"
|
||||
|
||||
# Example .rsync-filter file in the source directory
|
||||
- var # exclude any path whose last part is 'var'
|
||||
- /var # exclude any path starting with 'var' starting at the source directory
|
||||
+ /var/conf # include /var/conf even though it was previously excluded
|
||||
# - var # exclude any path whose last part is 'var'
|
||||
# - /var # exclude any path starting with 'var' starting at the source directory
|
||||
# + /var/conf # include /var/conf even though it was previously excluded
|
||||
|
||||
# Synchronize passing in extra rsync options
|
||||
- synchronize:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue