mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-08-06 22:24:29 -07:00
fixing ansible-lint errors, fix gcsfuse
Ansible-lint is required for Ansible collection certification for Automation Hub. gcsfuse had no metadata associated with it, failing the Ansible Hub upload.
This commit is contained in:
parent
a9545c77a4
commit
4907356bba
16 changed files with 71 additions and 33 deletions
|
@ -12,14 +12,18 @@
|
|||
filename: google-cloud-sdk
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk package
|
||||
ansible.builtin.apt: name=google-cloud-sdk update_cache=yes
|
||||
ansible.builtin.apt:
|
||||
name: "google-cloud-sdk"
|
||||
update_cache: "yes"
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
retries: 10
|
||||
delay: 2
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
ansible.builtin.apt: name=google-cloud-sdk-{{ item }} update_cache=yes
|
||||
ansible.builtin.apt:
|
||||
name: "google-cloud-sdk-{{ item }}"
|
||||
update_cache: "yes"
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
retries: 10
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
# tasks file for gcloud
|
||||
|
||||
- name: gcloud | Start package installation for specific distro
|
||||
ansible.builtin.include_tasks: "{{ ansible_os_family|lower }}.yml"
|
||||
ansible.builtin.include_tasks: "{{ ansible_os_family | lower }}.yml"
|
||||
|
|
|
@ -13,14 +13,18 @@
|
|||
- https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
|
||||
|
||||
- name: gcloud | RHEL | Install the google-cloud-sdk package
|
||||
ansible.builtin.yum: name=google-cloud-sdk update_cache=yes
|
||||
ansible.builtin.yum:
|
||||
name: "google-cloud-sdk"
|
||||
update_cache: "yes"
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
retries: 10
|
||||
delay: 2
|
||||
|
||||
- name: gcloud | Debian | Install the google-cloud-sdk additional components
|
||||
ansible.builtin.yum: name=google-cloud-sdk-{{ item }} update_cache=yes
|
||||
ansible.builtin.yum:
|
||||
name: "google-cloud-sdk-{{ item }}"
|
||||
update_cache: "yes"
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
retries: 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue