mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-28 15:41:32 -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
|
@ -6,7 +6,7 @@
|
|||
ansible.builtin.apt:
|
||||
name: gnupg
|
||||
update_cache: true
|
||||
when: ansible_os_family|lower == "debian"
|
||||
when: ansible_os_family | lower == "debian"
|
||||
roles:
|
||||
- role: google.cloud.gcloud
|
||||
gcloud_install_type: archive
|
||||
|
|
|
@ -3,19 +3,20 @@
|
|||
hosts: all
|
||||
pre_tasks:
|
||||
- name: Update package cache
|
||||
ansible.builtin.package: update_cache=yes
|
||||
ansible.builtin.package:
|
||||
update_cache: "yes"
|
||||
changed_when: false
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
retries: 10
|
||||
delay: 2
|
||||
- name: create containerd folder
|
||||
- name: Create containerd folder
|
||||
ansible.builtin.file:
|
||||
path: /etc/systemd/system/containerd.service.d
|
||||
state: directory
|
||||
mode: 0755
|
||||
when: ansible_service_mgr == "systemd"
|
||||
- name: override file for containerd
|
||||
- name: Override file for containerd
|
||||
ansible.builtin.copy:
|
||||
src: files/override.conf
|
||||
dest: /etc/systemd/system/containerd.service.d/override.conf
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
ansible.builtin.apt:
|
||||
name: gnupg
|
||||
update_cache: true
|
||||
when: ansible_os_family|lower == "debian"
|
||||
when: ansible_os_family | lower == "debian"
|
||||
roles:
|
||||
- role: google.cloud.gcloud
|
||||
gcloud_additional_components:
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
hosts: all
|
||||
pre_tasks:
|
||||
- name: Update package cache
|
||||
ansible.builtin.package: update_cache=yes
|
||||
ansible.builtin.package:
|
||||
update_cache: "yes"
|
||||
changed_when: false
|
||||
register: task_result
|
||||
until: task_result is success
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue