mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-30 09:51:48 -07:00
ansible-lint was updated and the GitHub action did not pin the dependency, resulting in the repository to fail sanity tests. Updating the repository to adhere to new fatal linter rules, but also pinning the linter to prevent failures that may be unrelated to the particular commit. Updating usages for python3.8 to 3.9 as ansible-lint is dropping support for 3.8.
15 lines
465 B
YAML
15 lines
465 B
YAML
---
|
|
|
|
- name: Gcloud | Load Distro and OS specific variables
|
|
ansible.builtin.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 }}
|
|
ansible.builtin.include_tasks: "{{ gcloud_install_type }}/main.yml"
|