summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/dnf.py
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2021-09-23 13:48:28 -0400
committerGitHub <noreply@github.com>2021-09-23 12:48:28 -0500
commitc5d8dc0e119c8a1632afae8b55fb15e2a4a44177 (patch)
treea4065e4f0c539ab0fe2c066a0e951fcf0f046515 /lib/ansible/modules/dnf.py
parent78ff1ab54631d0d18c6902b08f0167accdd7bdab (diff)
downloadansible-c5d8dc0e119c8a1632afae8b55fb15e2a4a44177.tar.gz
Add attributes 2/x (#75619)
* Added attribute information to more modules rearranged the shared data platform revamped use 'details' and avoid overriding description Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/fail.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/debug.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/command.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/assert.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_core.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/gather_facts.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/include_vars.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/meta.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/modules/meta.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update lib/ansible/plugins/doc_fragments/action_common_attributes.py Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
Diffstat (limited to 'lib/ansible/modules/dnf.py')
-rw-r--r--lib/ansible/modules/dnf.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/ansible/modules/dnf.py b/lib/ansible/modules/dnf.py
index 635646f549..a1fda09756 100644
--- a/lib/ansible/modules/dnf.py
+++ b/lib/ansible/modules/dnf.py
@@ -236,6 +236,23 @@ options:
type: bool
default: "no"
version_added: "2.12"
+extends_documentation_fragment:
+- action_common_attributes
+- action_common_attributes.flow
+attributes:
+ action:
+ details: In the case of dnf, it has 2 action plugins that use it under the hood, M(yum) and M(package).
+ support: partial
+ async:
+ support: none
+ bypass_host_loop:
+ support: none
+ check_mode:
+ support: full
+ diff_mode:
+ support: full
+ platform:
+ platforms: rhel
notes:
- When used with a `loop:` each package will be processed individually, it is much more efficient to pass the list directly to the `name` option.
- Group removal doesn't work if the group was installed with Ansible because