Skip to content

Commit 9fb9712

Browse files
committed
Don't run GPC VPC discovery tasks when the subnet was already specified.
Signed-off-by: Jesus Perez Rey <jprey@bluemetrix.com>
1 parent 6b0233e commit 9fb9712

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)