modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -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