Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Fix example names #304

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
priority: 1000
source_range: 10.0.0.0
action: ALLOW
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
EXAMPLES = '''
- name: " a firewall rule facts"
gcp_appengine_firewall_rule_facts:
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/modules/cloud/google/gcp_bigquery_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
name: my_example_dataset
dataset_reference:
dataset_id: my_example_dataset
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
EXAMPLES = '''
- name: " a dataset facts"
gcp_bigquery_dataset_facts:
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_bigquery_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@
dataset: example_dataset
table_reference:
dataset_id: example_dataset
project_id: test_project
project_id: test-project
table_id: example_table
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- name: " a table facts"
gcp_bigquery_table_facts:
dataset: example_dataset
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
6 changes: 3 additions & 3 deletions lib/ansible/modules/cloud/google/gcp_cloudbuild_trigger.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,10 @@
gcp_cloudbuild_trigger:
trigger_template:
branch_name: master
project_id: test_project
repo_name: test_object
project_id: test-project
repo_name: test-object
filename: cloudbuild.yaml
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
EXAMPLES = '''
- name: " a trigger facts"
gcp_cloudbuild_trigger_facts:
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
version: prod
instance: my-instance-001
relative_uri: "/ping"
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- name: " a job facts"
gcp_cloudscheduler_job_facts:
region: us-central1
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
2 changes: 1 addition & 1 deletion lib/ansible/modules/cloud/google/gcp_compute_address.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
gcp_compute_address:
name: test-address1
region: us-west1
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_address_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
gcp_compute_address_facts:
region: us-west1
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@

- name: create a backend bucket
gcp_compute_backend_bucket:
name: test_object
name: test-object
bucket_name: "{{ bucket.name }}"
description: A BackendBucket to connect LNB w/ Storage Bucket
enable_cdn: 'true'
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a backend bucket facts"
gcp_compute_backend_bucket_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,13 @@

- name: create a backend service
gcp_compute_backend_service:
name: test_object
name: test-object
backends:
- group: "{{ instancegroup.selfLink }}"
health_checks:
- "{{ healthcheck.selfLink }}"
enable_cdn: 'true'
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a backend service facts"
gcp_compute_backend_service_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@
EXAMPLES = '''
- name: create a disk
gcp_compute_disk:
name: test_object
name: test-object
size_gb: 50
disk_encryption_key:
raw_key: SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=
zone: us-central1-a
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_disk_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
gcp_compute_disk_facts:
zone: us-central1-a
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_firewall.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
EXAMPLES = '''
- name: create a firewall
gcp_compute_firewall:
name: test_object
name: test-object
allowed:
- ip_protocol: tcp
ports:
Expand All @@ -230,7 +230,7 @@
- staging-ssh-server
source_tags:
- test-ssh-clients
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a firewall facts"
gcp_compute_firewall_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,13 +238,13 @@

- name: create a forwarding rule
gcp_compute_forwarding_rule:
name: test_object
name: test-object
region: us-west1
target: "{{ targetpool }}"
ip_protocol: TCP
port_range: 80-80
ip_address: "{{ address.address }}"
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
gcp_compute_forwarding_rule_facts:
region: us-west1
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@
EXAMPLES = '''
- name: create a global address
gcp_compute_global_address:
name: test_object
project: test_project
name: test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a global address facts"
gcp_compute_global_address_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@

- name: create a global forwarding rule
gcp_compute_global_forwarding_rule:
name: test_object
name: test-object
ip_address: "{{ globaladdress.address }}"
ip_protocol: TCP
port_range: 80-80
target: "{{ httpproxy.selfLink }}"
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a global forwarding rule facts"
gcp_compute_global_forwarding_rule_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_health_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@
EXAMPLES = '''
- name: create a health check
gcp_compute_health_check:
name: test_object
name: test-object
type: TCP
tcp_health_check:
port_name: service-health
Expand All @@ -268,7 +268,7 @@
healthy_threshold: 10
timeout_sec: 2
unhealthy_threshold: 5
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a health check facts"
gcp_compute_health_check_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@
EXAMPLES = '''
- name: create a http health check
gcp_compute_http_health_check:
name: test_object
name: test-object
healthy_threshold: 10
port: 8080
timeout_sec: 2
unhealthy_threshold: 5
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a http health check facts"
gcp_compute_http_health_check_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@
EXAMPLES = '''
- name: create a https health check
gcp_compute_https_health_check:
name: test_object
name: test-object
healthy_threshold: 10
port: 8080
timeout_sec: 2
unhealthy_threshold: 5
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
- name: " a https health check facts"
gcp_compute_https_health_check_facts:
filters:
- name = test_object
project: test_project
- name = test-object
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: facts
Expand Down
4 changes: 2 additions & 2 deletions lib/ansible/modules/cloud/google/gcp_compute_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@

- name: create a image
gcp_compute_image:
name: test_object
name: test-object
source_disk: "{{ disk }}"
project: test_project
project: test-project
auth_kind: serviceaccount
service_account_file: "/tmp/auth.pem"
state: present
Expand Down
Loading