mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Allude to apt on the examples page.
This commit is contained in:
@@ -96,6 +96,8 @@ The mode, owner, and group arguments can also be used on the copy or template li
|
||||
Managing Packages
|
||||
`````````````````
|
||||
|
||||
There are modules available for yum and apt. Here are some examples with yum.
|
||||
|
||||
Ensure a package is installed, but don't update it::
|
||||
|
||||
ansible webservers -m yum -a "pkg=acme state=installed"
|
||||
|
||||
Reference in New Issue
Block a user