mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
(cherry picked from commit 403c4f7477
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
43dc6ba533
commit
c5ff49db56
27 changed files with 110 additions and 110 deletions
|
@ -64,7 +64,7 @@ options:
|
|||
description:
|
||||
- Remove any added source files and trees after adding to archive.
|
||||
type: bool
|
||||
default: no
|
||||
default: false
|
||||
notes:
|
||||
- Requires tarfile, zipfile, gzip and bzip2 packages on target host.
|
||||
- Requires lzma or backports.lzma if using xz format.
|
||||
|
@ -84,7 +84,7 @@ EXAMPLES = r'''
|
|||
- name: Compress regular file /path/to/foo into /path/to/foo.gz and remove it
|
||||
community.general.archive:
|
||||
path: /path/to/foo
|
||||
remove: yes
|
||||
remove: true
|
||||
|
||||
- name: Create a zip archive of /path/to/foo
|
||||
community.general.archive:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue