mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -42,30 +42,30 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Install package foo
|
||||
apt_rpm:
|
||||
community.general.apt_rpm:
|
||||
pkg: foo
|
||||
state: present
|
||||
|
||||
- name: Install packages foo and bar
|
||||
apt_rpm:
|
||||
community.general.apt_rpm:
|
||||
pkg:
|
||||
- foo
|
||||
- bar
|
||||
state: present
|
||||
|
||||
- name: Remove package foo
|
||||
apt_rpm:
|
||||
community.general.apt_rpm:
|
||||
pkg: foo
|
||||
state: absent
|
||||
|
||||
- name: Remove packages foo and bar
|
||||
apt_rpm:
|
||||
community.general.apt_rpm:
|
||||
pkg: foo,bar
|
||||
state: absent
|
||||
|
||||
# bar will be the updated if a newer version exists
|
||||
- name: Update the package database and install bar
|
||||
apt_rpm:
|
||||
community.general.apt_rpm:
|
||||
name: bar
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue