mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -51,28 +51,28 @@ notes:
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Install Keynote
|
||||
mas:
|
||||
community.general.mas:
|
||||
id: 409183694
|
||||
state: present
|
||||
|
||||
- name: Install a list of apps
|
||||
mas:
|
||||
community.general.mas:
|
||||
id:
|
||||
- 409183694 # Keynote
|
||||
- 413857545 # Divvy
|
||||
state: present
|
||||
|
||||
- name: Ensure the latest Keynote version is installed
|
||||
mas:
|
||||
community.general.mas:
|
||||
id: 409183694
|
||||
state: latest
|
||||
|
||||
- name: Upgrade all installed Mac App Store apps
|
||||
mas:
|
||||
community.general.mas:
|
||||
upgrade_all: yes
|
||||
|
||||
- name: Install specific apps and also upgrade all others
|
||||
mas:
|
||||
community.general.mas:
|
||||
id:
|
||||
- 409183694 # Keynote
|
||||
- 413857545 # Divvy
|
||||
@@ -80,7 +80,7 @@ EXAMPLES = '''
|
||||
upgrade_all: yes
|
||||
|
||||
- name: Uninstall Divvy
|
||||
mas:
|
||||
community.general.mas:
|
||||
id: 413857545
|
||||
state: absent
|
||||
become: yes # Uninstallation requires root permissions
|
||||
|
||||
Reference in New Issue
Block a user