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
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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
'''