mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
archive: better expose requirements (#5392)
* Better expose requirements. * Move sentence back to notes. * Update plugins/modules/files/archive.py Co-authored-by: Maxwell G <gotmax@e.email> * Break line. Co-authored-by: Maxwell G <gotmax@e.email>
This commit is contained in:
parent
5aa1e58749
commit
a023f2a344
1 changed files with 7 additions and 5 deletions
|
@ -66,13 +66,15 @@ options:
|
||||||
type: bool
|
type: bool
|
||||||
default: false
|
default: false
|
||||||
notes:
|
notes:
|
||||||
- Requires tarfile, zipfile, gzip and bzip2 packages on target host.
|
- Can produce I(gzip), I(bzip2), I(lzma), and I(zip) compressed files or archives.
|
||||||
- Requires lzma or backports.lzma if using xz format.
|
- This module uses C(tarfile), C(zipfile), C(gzip), and C(bz2) packages on the target host to create archives.
|
||||||
- Can produce I(gzip), I(bzip2), I(lzma) and I(zip) compressed files or archives.
|
These are part of the Python standard library for Python 2 and 3.
|
||||||
|
requirements:
|
||||||
|
- Requires C(lzma) (standard library of Python 3) or L(backports.lzma, https://pypi.org/project/backports.lzma/) (Python 2) if using C(xz) format.
|
||||||
seealso:
|
seealso:
|
||||||
- module: ansible.builtin.unarchive
|
- module: ansible.builtin.unarchive
|
||||||
author:
|
author:
|
||||||
- Ben Doherty (@bendoh)
|
- Ben Doherty (@bendoh)
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = r'''
|
EXAMPLES = r'''
|
||||||
|
|
Loading…
Reference in a new issue