1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-19 10:21:30 +00:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -256,7 +256,7 @@ EXAMPLES = '''
size: 10
register: disk
- name: Create an instance
hwc_ecs_instance:
community.general.hwc_ecs_instance:
data_volumes:
- volume_id: "{{ disk.id }}"
enable_auto_recovery: false

View file

@ -156,7 +156,7 @@ extends_documentation_fragment:
EXAMPLES = '''
# test create disk
- name: Create a disk
hwc_evs_disk:
community.general.hwc_evs_disk:
availability_zone: "cn-north-1a"
name: "ansible_evs_disk_test"
volume_type: "SATA"

View file

@ -66,7 +66,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Create a vpc
hwc_network_vpc:
community.general.hwc_network_vpc:
identity_endpoint: "{{ identity_endpoint }}"
user: "{{ user }}"
password: "{{ password }}"

View file

@ -51,7 +51,7 @@ extends_documentation_fragment:
EXAMPLES = '''
- name: Create a smn topic
hwc_smn_topic:
community.general.hwc_smn_topic:
identity_endpoint: "{{ identity_endpoint }}"
user_name: "{{ user_name }}"
password: "{{ password }}"

View file

@ -145,7 +145,7 @@ EXAMPLES = '''
ip_address: "192.168.100.33"
register: port
- name: Create an eip and bind it to a port
hwc_vpc_eip:
community.general.hwc_vpc_eip:
type: "5_bgp"
dedicated_bandwidth:
charge_mode: "traffic"

View file

@ -91,7 +91,7 @@ EXAMPLES = '''
name: "ansible_network_vpc_test_peering"
register: vpc2
- name: Create a peering connect
hwc_vpc_peering_connect:
community.general.hwc_vpc_peering_connect:
local_vpc_id: "{{ vpc1.id }}"
name: "ansible_network_peering_test"
peering_vpc:

View file

@ -121,7 +121,7 @@ EXAMPLES = '''
cidr: "192.168.100.0/26"
register: subnet
- name: Create a port
hwc_vpc_port:
community.general.hwc_vpc_port:
subnet_id: "{{ subnet.id }}"
ip_address: "192.168.100.33"
'''

View file

@ -68,7 +68,7 @@ EXAMPLES = '''
cidr: "192.168.100.0/26"
register: subnet
- name: Create a private ip
hwc_vpc_private_ip:
community.general.hwc_vpc_private_ip:
subnet_id: "{{ subnet.id }}"
ip_address: "192.168.100.33"
'''

View file

@ -81,7 +81,7 @@ EXAMPLES = '''
vpc_id: "{{ vpc2.id }}"
register: connect
- name: Create a route
hwc_vpc_route:
community.general.hwc_vpc_route:
vpc_id: "{{ vpc1.id }}"
destination: "192.168.0.0/16"
next_hop: "{{ connect.id }}"

View file

@ -66,7 +66,7 @@ extends_documentation_fragment:
EXAMPLES = '''
# create a security group
- name: Create a security group
hwc_vpc_security_group:
community.general.hwc_vpc_security_group:
name: "ansible_network_security_group_test"
'''

View file

@ -111,7 +111,7 @@ EXAMPLES = '''
name: "ansible_network_security_group_test"
register: sg
- name: Create a security group rule
hwc_vpc_security_group_rule:
community.general.hwc_vpc_security_group_rule:
direction: "ingress"
protocol: "tcp"
ethertype: "IPv4"

View file

@ -104,7 +104,7 @@ EXAMPLES = '''
name: "ansible_network_vpc_test"
register: vpc
- name: Create subnet
hwc_vpc_subnet:
community.general.hwc_vpc_subnet:
vpc_id: "{{ vpc.id }}"
cidr: "192.168.100.0/26"
gateway_ip: "192.168.100.32"