Skip to content

Commit 41cfdda

Browse files
authored
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
1 parent 8b92e04 commit 41cfdda

File tree

533 files changed

+2130
-2130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

533 files changed

+2130
-2130
lines changed

plugins/modules/cloud/alicloud/ali_instance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@
278278
279279
tasks:
280280
- name: Launch ECS instance in VPC network
281-
ali_instance:
281+
community.general.ali_instance:
282282
alicloud_access_key: '{{ alicloud_access_key }}'
283283
alicloud_secret_key: '{{ alicloud_secret_key }}'
284284
alicloud_region: '{{ alicloud_region }}'
@@ -296,7 +296,7 @@
296296
password: '{{ password }}'
297297
298298
- name: With count and count_tag to create a number of instances
299-
ali_instance:
299+
community.general.ali_instance:
300300
alicloud_access_key: '{{ alicloud_access_key }}'
301301
alicloud_secret_key: '{{ alicloud_secret_key }}'
302302
alicloud_region: '{{ alicloud_region }}'
@@ -318,7 +318,7 @@
318318
password: '{{ password }}'
319319
320320
- name: Start instance
321-
ali_instance:
321+
community.general.ali_instance:
322322
alicloud_access_key: '{{ alicloud_access_key }}'
323323
alicloud_secret_key: '{{ alicloud_secret_key }}'
324324
alicloud_region: '{{ alicloud_region }}'

plugins/modules/cloud/alicloud/ali_instance_info.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,23 +82,23 @@
8282
# Fetch instances details according to setting different filters
8383
8484
- name: Find all instances in the specified region
85-
ali_instance_info:
85+
community.general.ali_instance_info:
8686
register: all_instances
8787
8888
- name: Find all instances based on the specified ids
89-
ali_instance_info:
89+
community.general.ali_instance_info:
9090
instance_ids:
9191
- "i-35b333d9"
9292
- "i-ddav43kd"
9393
register: instances_by_ids
9494
9595
- name: Find all instances based on the specified name_prefix
96-
ali_instance_info:
96+
community.general.ali_instance_info:
9797
name_prefix: "ecs_instance_"
9898
register: instances_by_name_prefix
9999
100100
- name: Find instances based on tags
101-
ali_instance_info:
101+
community.general.ali_instance_info:
102102
tags:
103103
Test: "add"
104104
'''

plugins/modules/cloud/atomic/atomic_container.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
EXAMPLES = '''
5959
6060
- name: Install the etcd system container
61-
atomic_container:
61+
community.general.atomic_container:
6262
name: etcd
6363
image: rhel/etcd
6464
backend: ostree
@@ -68,7 +68,7 @@
6868
- ETCD_NAME=etcd.server
6969
7070
- name: Uninstall the etcd system container
71-
atomic_container:
71+
community.general.atomic_container:
7272
name: etcd
7373
image: rhel/etcd
7474
backend: ostree

plugins/modules/cloud/atomic/atomic_host.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131

3232
EXAMPLES = '''
3333
- name: Upgrade the atomic host platform to the latest version (atomic host upgrade)
34-
atomic_host:
34+
community.general.atomic_host:
3535
revision: latest
3636
3737
- name: Deploy a specific revision as the atomic host (atomic host deploy 23.130)
38-
atomic_host:
38+
community.general.atomic_host:
3939
revision: 23.130
4040
'''
4141

plugins/modules/cloud/atomic/atomic_image.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545

4646
EXAMPLES = '''
4747
- name: Execute the run command on rsyslog container image (atomic run rhel7/rsyslog)
48-
atomic_image:
48+
community.general.atomic_image:
4949
name: rhel7/rsyslog
5050
state: latest
5151
5252
- name: Pull busybox to the OSTree backend
53-
atomic_image:
53+
community.general.atomic_image:
5454
name: busybox
5555
state: latest
5656
backend: ostree

plugins/modules/cloud/centurylink/clc_aa_policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
connection: local
5959
tasks:
6060
- name: Create an Anti Affinity Policy
61-
clc_aa_policy:
61+
community.general.clc_aa_policy:
6262
name: Hammer Time
6363
location: UK3
6464
state: present
@@ -75,7 +75,7 @@
7575
connection: local
7676
tasks:
7777
- name: Delete an Anti Affinity Policy
78-
clc_aa_policy:
78+
community.general.clc_aa_policy:
7979
name: Hammer Time
8080
location: UK3
8181
state: absent

plugins/modules/cloud/centurylink/clc_alert_policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
connection: local
7575
tasks:
7676
- name: Create an Alert Policy for disk above 80% for 5 minutes
77-
clc_alert_policy:
77+
community.general.clc_alert_policy:
7878
alias: wfad
7979
name: 'alert for disk > 80%'
8080
alert_recipients:
@@ -96,7 +96,7 @@
9696
connection: local
9797
tasks:
9898
- name: Delete an Alert Policy
99-
clc_alert_policy:
99+
community.general.clc_alert_policy:
100100
alias: wfad
101101
name: 'alert for disk > 80%'
102102
state: absent

plugins/modules/cloud/centurylink/clc_blueprint_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# Note - You must set the CLC_V2_API_USERNAME And CLC_V2_API_PASSWD Environment variables before running these examples
6060
6161
- name: Deploy package
62-
clc_blueprint_package:
62+
community.general.clc_blueprint_package:
6363
server_ids:
6464
- UC1TEST-SERVER1
6565
- UC1TEST-SERVER2

plugins/modules/cloud/centurylink/clc_group.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
connection: local
7171
tasks:
7272
- name: Create / Verify a Server Group at CenturyLink Cloud
73-
clc_group:
73+
community.general.clc_group:
7474
name: My Cool Server Group
7575
parent: Default Group
7676
state: present
@@ -89,7 +89,7 @@
8989
connection: local
9090
tasks:
9191
- name: Delete / Verify Absent a Server Group at CenturyLink Cloud
92-
clc_group:
92+
community.general.clc_group:
9393
name: My Cool Server Group
9494
parent: Default Group
9595
state: absent

plugins/modules/cloud/centurylink/clc_loadbalancer.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
connection: local
8080
tasks:
8181
- name: Actually Create things
82-
clc_loadbalancer:
82+
community.general.clc_loadbalancer:
8383
name: test
8484
description: test
8585
alias: TEST
@@ -95,7 +95,7 @@
9595
connection: local
9696
tasks:
9797
- name: Actually Create things
98-
clc_loadbalancer:
98+
community.general.clc_loadbalancer:
9999
name: test
100100
description: test
101101
alias: TEST
@@ -111,7 +111,7 @@
111111
connection: local
112112
tasks:
113113
- name: Actually Create things
114-
clc_loadbalancer:
114+
community.general.clc_loadbalancer:
115115
name: test
116116
description: test
117117
alias: TEST
@@ -127,7 +127,7 @@
127127
connection: local
128128
tasks:
129129
- name: Actually Delete things
130-
clc_loadbalancer:
130+
community.general.clc_loadbalancer:
131131
name: test
132132
description: test
133133
alias: TEST
@@ -143,7 +143,7 @@
143143
connection: local
144144
tasks:
145145
- name: Actually Delete things
146-
clc_loadbalancer:
146+
community.general.clc_loadbalancer:
147147
name: test
148148
description: test
149149
alias: TEST

0 commit comments

Comments
 (0)