mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Add example for multiple package selection with dnf (#45610)
Thanks for enhancing the Ansible documentation!
This commit is contained in:
committed by
Sandra McCann
parent
bef1e5621b
commit
63444136ba
@@ -207,6 +207,13 @@ EXAMPLES = '''
|
|||||||
name: httpd
|
name: httpd
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
|
- name: install the latest version of Apache and MariaDB
|
||||||
|
dnf:
|
||||||
|
name:
|
||||||
|
- httpd
|
||||||
|
- mariadb-server
|
||||||
|
state: latest
|
||||||
|
|
||||||
- name: remove the Apache package
|
- name: remove the Apache package
|
||||||
dnf:
|
dnf:
|
||||||
name: httpd
|
name: httpd
|
||||||
|
|||||||
Reference in New Issue
Block a user