mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -175,7 +175,7 @@ EXAMPLES = '''
|
||||
# Note - You must set the CLC_V2_API_USERNAME And CLC_V2_API_PASSWD Environment variables before running these examples
|
||||
|
||||
- name: Provision a single Ubuntu Server
|
||||
clc_server:
|
||||
community.general.clc_server:
|
||||
name: test
|
||||
template: ubuntu-14-64
|
||||
count: 1
|
||||
@@ -183,7 +183,7 @@ EXAMPLES = '''
|
||||
state: present
|
||||
|
||||
- name: Ensure 'Default Group' has exactly 5 servers
|
||||
clc_server:
|
||||
community.general.clc_server:
|
||||
name: test
|
||||
template: ubuntu-14-64
|
||||
exact_count: 5
|
||||
@@ -191,19 +191,19 @@ EXAMPLES = '''
|
||||
group: Default Group
|
||||
|
||||
- name: Stop a Server
|
||||
clc_server:
|
||||
community.general.clc_server:
|
||||
server_ids:
|
||||
- UC1ACCT-TEST01
|
||||
state: stopped
|
||||
|
||||
- name: Start a Server
|
||||
clc_server:
|
||||
community.general.clc_server:
|
||||
server_ids:
|
||||
- UC1ACCT-TEST01
|
||||
state: started
|
||||
|
||||
- name: Delete a Server
|
||||
clc_server:
|
||||
community.general.clc_server:
|
||||
server_ids:
|
||||
- UC1ACCT-TEST01
|
||||
state: absent
|
||||
|
||||
Reference in New Issue
Block a user