mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add example for multiple package selection with dnf (#45610)
Thanks for enhancing the Ansible documentation!
This commit is contained in:
parent
bef1e5621b
commit
63444136ba
1 changed files with 7 additions and 0 deletions
|
@ -207,6 +207,13 @@ EXAMPLES = '''
|
|||
name: httpd
|
||||
state: latest
|
||||
|
||||
- name: install the latest version of Apache and MariaDB
|
||||
dnf:
|
||||
name:
|
||||
- httpd
|
||||
- mariadb-server
|
||||
state: latest
|
||||
|
||||
- name: remove the Apache package
|
||||
dnf:
|
||||
name: httpd
|
||||
|
|
Loading…
Reference in a new issue