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
11d4f5396d
commit
bdb51bda99
2 changed files with 34 additions and 34 deletions
|
|
@ -2,10 +2,10 @@
|
||||||
- name: calico setup
|
- name: calico setup
|
||||||
block:
|
block:
|
||||||
- name: Include vars
|
- name: Include vars
|
||||||
include_vars: "calico-files.yaml"
|
ansible.builtin.include_vars: "calico-files.yaml"
|
||||||
|
|
||||||
- name: calico install
|
- name: calico install
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
merge_type: merge
|
merge_type: merge
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
register: calico_changed
|
register: calico_changed
|
||||||
|
|
||||||
- name: delete pods calicoctl
|
- name: delete pods calicoctl
|
||||||
k8s:
|
kubernetes.core.k8s:
|
||||||
state: absent
|
state: absent
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
kind: Pod
|
kind: Pod
|
||||||
|
|
@ -25,10 +25,10 @@
|
||||||
# - calico_changed is changed
|
# - calico_changed is changed
|
||||||
#
|
#
|
||||||
# - name: calicoctl install
|
# - name: calicoctl install
|
||||||
# k8s:
|
# kubernetes.core.k8s:
|
||||||
# state: present
|
# state: present
|
||||||
# context: "{{ my_context }}"
|
# context: "{{ my_context }}"
|
||||||
# apply: yes
|
# apply: true
|
||||||
# resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
# resource_definition: "{{ lookup('file', item) | from_yaml }}"
|
||||||
# with_items:
|
# with_items:
|
||||||
# - "{{ calicoctl_files }}"
|
# - "{{ calicoctl_files }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue