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:
Yusuke Tsutsumi 2022-12-10 09:54:28 -08:00 committed by Yusuke Tsutsumi
commit 4907356bba
16 changed files with 71 additions and 33 deletions

View file

@ -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

View file

@ -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"

View file

@ -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