Fix lint errors
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
762bd0781b
commit
27f14ecf1b
9 changed files with 326 additions and 322 deletions
|
|
@ -1,22 +1,22 @@
|
|||
---
|
||||
# https://github.com/linode/linode-blockstorage-csi-driver
|
||||
- name: Include file list
|
||||
include_vars: "linode.yaml"
|
||||
ansible.builtin.include_vars: "linode.yaml"
|
||||
|
||||
- name: Defined linode-storage state to present
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
storage_linode_state: present
|
||||
when:
|
||||
- storage_linode|bool
|
||||
|
||||
- name: find state of linode-storage
|
||||
set_fact:
|
||||
ansible.builtin.set_fact:
|
||||
storage_linode_state: absent
|
||||
when:
|
||||
- not storage_linode|bool
|
||||
|
||||
- name: Add secret for Linode Access Key
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: "{{ storage_linode_state }}"
|
||||
context: "{{ my_context }}"
|
||||
definition:
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
region: "{{ LINODE_REGION | default('token_missing') }}"
|
||||
|
||||
- name: linode-storage need to be {{ storage_linode_state }}
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: "{{ storage_linode_state }}"
|
||||
context: "{{ my_context }}"
|
||||
merge_type: merge
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue