mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-18 17:01:22 -07:00
Use Ruby YAML library to serialize Ansible examples (#196)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
675efbaadd
commit
ebd14d6e56
127 changed files with 1968 additions and 2049 deletions
|
@ -455,26 +455,26 @@ EXAMPLES = '''
|
|||
|
||||
- name: create a instance
|
||||
gcp_compute_instance:
|
||||
name: "test_object"
|
||||
machine_type: n1-standard-1
|
||||
disks:
|
||||
- auto_delete: true
|
||||
boot: true
|
||||
source: "{{ disk }}"
|
||||
metadata:
|
||||
startup-script-url: gs:://graphite-playground/bootstrap.sh
|
||||
cost-center: '12345'
|
||||
network_interfaces:
|
||||
- network: "{{ network }}"
|
||||
access_configs:
|
||||
- name: External NAT
|
||||
nat_ip: "{{ address }}"
|
||||
type: ONE_TO_ONE_NAT
|
||||
zone: us-central1-a
|
||||
project: "test_project"
|
||||
auth_kind: "serviceaccount"
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
state: present
|
||||
name: test_object
|
||||
machine_type: n1-standard-1
|
||||
disks:
|
||||
- auto_delete: 'true'
|
||||
boot: 'true'
|
||||
source: "{{ disk }}"
|
||||
metadata:
|
||||
startup-script-url: gs:://graphite-playground/bootstrap.sh
|
||||
cost-center: '12345'
|
||||
network_interfaces:
|
||||
- network: "{{ network }}"
|
||||
access_configs:
|
||||
- name: External NAT
|
||||
nat_ip: "{{ address }}"
|
||||
type: ONE_TO_ONE_NAT
|
||||
zone: us-central1-a
|
||||
project: test_project
|
||||
auth_kind: serviceaccount
|
||||
service_account_file: "/tmp/auth.pem"
|
||||
state: present
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue