Skip to content

Commit 27d7bf2

Browse files
authored
Skip GPC VPC discovery tasks when subnet is specified. (#149)
Signed-off-by: Jesus Perez Rey <[email protected]>
1 parent 72567ad commit 27d7bf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/platform/tasks/initialize_gcp.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# limitations under the License.
1616

1717
- name: Discover GCP VPC
18+
when: not plat__gcp_subnet_id
1819
google.cloud.gcp_compute_network_info:
1920
project: "{{ plat__gcp_project }}"
2021
filters:

0 commit comments

Comments
 (0)