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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue