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
parent 8b92e0454d
commit 41cfdda6a3
533 changed files with 2130 additions and 2130 deletions

View File

@@ -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
'''