mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -53,16 +53,16 @@ options:
|
||||
'''
|
||||
EXAMPLES = '''
|
||||
- name: Install the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
|
||||
- name: Install the universal, x11 variant of the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
variant: +universal+x11
|
||||
|
||||
- name: Install a list of ports
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: "{{ ports }}"
|
||||
vars:
|
||||
ports:
|
||||
@@ -70,27 +70,27 @@ EXAMPLES = '''
|
||||
- foo-tools
|
||||
|
||||
- name: Update Macports and the ports tree, then upgrade all outdated ports
|
||||
macports:
|
||||
community.general.macports:
|
||||
selfupdate: yes
|
||||
upgrade: yes
|
||||
|
||||
- name: Update Macports and the ports tree, then install the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
selfupdate: yes
|
||||
|
||||
- name: Remove the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
state: absent
|
||||
|
||||
- name: Activate the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
state: active
|
||||
|
||||
- name: Deactivate the foo port
|
||||
macports:
|
||||
community.general.macports:
|
||||
name: foo
|
||||
state: inactive
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user