mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-28 17:01:52 -07:00
gcloud role w/tests
This commit is contained in:
parent
9bfffd56e8
commit
fa14b8c218
23 changed files with 643 additions and 0 deletions
15
roles/gcloud/tasks/main.yml
Normal file
15
roles/gcloud/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
|
||||
- name: gcloud | Load Distro and OS specific variables
|
||||
include_vars: "{{ lookup('first_found', params) }}"
|
||||
vars:
|
||||
params:
|
||||
files:
|
||||
- "os/{{ ansible_distribution|lower }}.yml"
|
||||
- "os/{{ ansible_os_family|lower }}.yml"
|
||||
- main.yml
|
||||
paths:
|
||||
- 'vars'
|
||||
|
||||
- name: gcloud | Install the google-cloud-sdk from {{ gcloud_install_type }}
|
||||
include_tasks: "{{ gcloud_install_type }}/main.yml"
|
Loading…
Add table
Add a link
Reference in a new issue