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