Add attributes to more modules (1/4) (#5965)

* Add attributes to more modules.

* Apply suggestions from code review.

Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>

---------

Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
This commit is contained in:
Felix Fontein 2023-02-20 17:29:14 +01:00 committed by GitHub
parent 9de145482b
commit 0ef805699d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 296 additions and 58 deletions

View file

@ -18,6 +18,11 @@ short_description: Add or remove Pulp repos from a remote host
description:
- Add or remove Pulp repos from a remote host.
- Note, this is for Pulp 2 only.
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
add_export_distributor:
description:
@ -165,7 +170,8 @@ notes:
- This module can currently only create distributors and importers on rpm
repositories. Contributions to support other repo types are welcome.
extends_documentation_fragment:
- url
- ansible.builtin.url
- community.general.attributes
'''
EXAMPLES = '''