mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-22 05:09:12 +00:00
version
This commit is contained in:
parent
5e67ee853d
commit
bd878c3f71
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ description:
|
||||||
|
|
||||||
author:
|
author:
|
||||||
- Samaneh Yousefnezhad (@yousefenzhad)
|
- Samaneh Yousefnezhad (@yousefenzhad)
|
||||||
version_added: "12.2cvh.0"
|
version_added: "12.2.0"
|
||||||
|
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- community.general.attributes
|
- community.general.attributes
|
||||||
|
|
@ -73,7 +73,7 @@ import hashlib
|
||||||
|
|
||||||
def get_exports(module, output_format, file_path="/etc/exports"):
|
def get_exports(module, output_format, file_path="/etc/exports"):
|
||||||
IP_ENTRY_PATTERN = re.compile(r'(\d+\.\d+\.\d+\.\d+)\(([^)]+)\)')
|
IP_ENTRY_PATTERN = re.compile(r'(\d+\.\d+\.\d+\.\d+)\(([^)]+)\)')
|
||||||
MAIN_LINE_PATTERN = re.compile(r'\s*(\S+)\s+(.+)')
|
MAIN_LINE_PATTERN = re.compile(r'(/\S+)\s+(.+)')
|
||||||
|
|
||||||
file_digests = {}
|
file_digests = {}
|
||||||
hash_algorithms = ['sha256', 'sha1', 'md5']
|
hash_algorithms = ['sha256', 'sha1', 'md5']
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue