1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-27 20:21:52 +03:00

Add attributes to various basic modules (#5964)

* Add attributes to various basic modules.

* Check and diff mode for pam_limits was added in #830.
This commit is contained in:
Felix Fontein
2023-02-20 17:28:47 +01:00
committed by GitHub
parent 755a49692d
commit 9de145482b
35 changed files with 280 additions and 34 deletions

View File

@ -13,11 +13,18 @@ DOCUMENTATION = '''
---
module: interfaces_file
short_description: Tweak settings in /etc/network/interfaces files
extends_documentation_fragment: files
extends_documentation_fragment:
- ansible.builtin.files
- community.general.attributes
description:
- Manage (add, remove, change) individual interface options in an interfaces-style file without having
to manage the file as a whole with, say, M(ansible.builtin.template) or M(ansible.builtin.assemble). Interface has to be presented in a file.
- Read information about interfaces from interfaces-styled files
- Manage (add, remove, change) individual interface options in an interfaces-style file without having
to manage the file as a whole with, say, M(ansible.builtin.template) or M(ansible.builtin.assemble). Interface has to be presented in a file.
- Read information about interfaces from interfaces-styled files
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
dest:
type: path