mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-17 19:41:49 -07:00
chore: pin ansible-lint to 6.13.1
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.
This commit is contained in:
parent
75d4ded736
commit
791e11d45d
11 changed files with 38 additions and 38 deletions
|
@ -1,17 +1,17 @@
|
|||
---
|
||||
# tasks that install gcloud on debian
|
||||
- name: gcloud | Debian | Add an Apt signing key, uses whichever key is at the URL
|
||||
- name: Gcloud | Debian | Add an Apt signing key, uses whichever key is at the URL
|
||||
ansible.builtin.apt_key:
|
||||
url: "{{ gcloud_apt_key }}"
|
||||
state: present
|
||||
|
||||
- name: gcloud | Debian | Add the gcloud repository
|
||||
- name: Gcloud | Debian | Add the gcloud repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: "deb {{ gcloud_apt_url }} {{ gcloud_apt_repo }} main"
|
||||
state: present
|
||||
filename: google-cloud-sdk
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk package
|
||||
- name: Gcloud | Debian | Install the google-cloud-sdk package
|
||||
ansible.builtin.apt:
|
||||
name: "google-cloud-sdk"
|
||||
update_cache: "yes"
|
||||
|
@ -20,7 +20,7 @@
|
|||
retries: 10
|
||||
delay: 2
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
- name: Gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
ansible.builtin.apt:
|
||||
name: "google-cloud-sdk-{{ item }}"
|
||||
update_cache: "yes"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# tasks file for gcloud
|
||||
|
||||
- name: gcloud | Start package installation for specific distro
|
||||
- name: Gcloud | Start package installation for specific distro
|
||||
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml"
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
---
|
||||
- name: gcloud | RHEL | Add an Apt signing key, uses whichever key is at the URL
|
||||
- name: Gcloud | RHEL | Add an Apt signing key, uses whichever key is at the URL
|
||||
ansible.builtin.yum_repository:
|
||||
name: google-cloud-sdk
|
||||
description: Google Cloud SDK
|
||||
ansible.builtin.file: google-cloud-sdk
|
||||
baseurl: https://packages.cloud.google.com/yum/repos/cloud-sdk-el7-x86_64
|
||||
enabled: yes
|
||||
gpgcheck: yes
|
||||
|
@ -12,7 +11,7 @@
|
|||
- https://packages.cloud.google.com/yum/doc/yum-key.gpg
|
||||
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
||||
|
||||
- name: gcloud | RHEL | Install the google-cloud-sdk package
|
||||
- name: Gcloud | RHEL | Install the google-cloud-sdk package
|
||||
ansible.builtin.yum:
|
||||
name: "google-cloud-sdk"
|
||||
update_cache: "yes"
|
||||
|
@ -21,7 +20,7 @@
|
|||
retries: 10
|
||||
delay: 2
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
- name: Gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
ansible.builtin.yum:
|
||||
name: "google-cloud-sdk-{{ item }}"
|
||||
update_cache: "yes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue