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

@ -68,69 +68,69 @@ notes:
EXAMPLES = '''
- name: Update repositories and install foo package
apk:
community.general.apk:
name: foo
update_cache: yes
- name: Update repositories and install foo and bar packages
apk:
community.general.apk:
name: foo,bar
update_cache: yes
- name: Remove foo package
apk:
community.general.apk:
name: foo
state: absent
- name: Remove foo and bar packages
apk:
community.general.apk:
name: foo,bar
state: absent
- name: Install the package foo
apk:
community.general.apk:
name: foo
state: present
- name: Install the packages foo and bar
apk:
community.general.apk:
name: foo,bar
state: present
- name: Update repositories and update package foo to latest version
apk:
community.general.apk:
name: foo
state: latest
update_cache: yes
- name: Update repositories and update packages foo and bar to latest versions
apk:
community.general.apk:
name: foo,bar
state: latest
update_cache: yes
- name: Update all installed packages to the latest versions
apk:
community.general.apk:
upgrade: yes
- name: Upgrade / replace / downgrade / uninstall all installed packages to the latest versions available
apk:
community.general.apk:
available: yes
upgrade: yes
- name: Update repositories as a separate step
apk:
community.general.apk:
update_cache: yes
- name: Install package from a specific repository
apk:
community.general.apk:
name: foo
state: latest
update_cache: yes
repository: http://dl-3.alpinelinux.org/alpine/edge/main
- name: Install package without using cache
apk:
community.general.apk:
name: foo
state: latest
no_cache: yes