Fix Ansible Lint warnings (No such file or directory) (#6581)

This commit is contained in:
Barry Melbourne 2020-08-27 07:19:10 +01:00 committed by GitHub
parent e6dae03a0d
commit 8e2bae0f2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@
command: "{{ bin_dir }}/kubectl delete all,service,jobs,deployment,secret --selector=\"glusterfs=heketi-deployment\"" command: "{{ bin_dir }}/kubectl delete all,service,jobs,deployment,secret --selector=\"glusterfs=heketi-deployment\""
ignore_errors: true ignore_errors: true
- name: "Tear down bootstrap." - name: "Tear down bootstrap."
include_tasks: "../provision/tasks/bootstrap/tear-down.yml" include_tasks: "../../provision/tasks/bootstrap/tear-down.yml"
- name: "Ensure there is nothing left over." # noqa 301 - name: "Ensure there is nothing left over." # noqa 301
command: "{{ bin_dir }}/kubectl get all,service,jobs,deployment,secret --selector=\"glusterfs=heketi-pod\" -o=json" command: "{{ bin_dir }}/kubectl get all,service,jobs,deployment,secret --selector=\"glusterfs=heketi-pod\" -o=json"
register: "heketi_result" register: "heketi_result"

View file

@ -12,7 +12,7 @@
when: inventory_hostname == groups['kube-master'][0] when: inventory_hostname == groups['kube-master'][0]
- name: Kubernetes Apps | Cleanup DNS - name: Kubernetes Apps | Cleanup DNS
import_tasks: tasks/cleanup_dns.yml import_tasks: cleanup_dns.yml
when: when:
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
tags: tags:
@ -21,7 +21,7 @@
- nodelocaldns - nodelocaldns
- name: Kubernetes Apps | CoreDNS - name: Kubernetes Apps | CoreDNS
import_tasks: "tasks/coredns.yml" import_tasks: "coredns.yml"
when: when:
- dns_mode in ['coredns', 'coredns_dual'] - dns_mode in ['coredns', 'coredns_dual']
- inventory_hostname == groups['kube-master'][0] - inventory_hostname == groups['kube-master'][0]
@ -29,7 +29,7 @@
- coredns - coredns
- name: Kubernetes Apps | nodelocalDNS - name: Kubernetes Apps | nodelocalDNS
import_tasks: "tasks/nodelocaldns.yml" import_tasks: "nodelocaldns.yml"
when: when:
- enable_nodelocaldns - enable_nodelocaldns
- inventory_hostname == groups['kube-master'] | first - inventory_hostname == groups['kube-master'] | first
@ -63,13 +63,13 @@
label: "{{ item.item.file }}" label: "{{ item.item.file }}"
- name: Kubernetes Apps | Netchecker - name: Kubernetes Apps | Netchecker
import_tasks: tasks/netchecker.yml import_tasks: netchecker.yml
when: deploy_netchecker when: deploy_netchecker
tags: tags:
- netchecker - netchecker
- name: Kubernetes Apps | Dashboard - name: Kubernetes Apps | Dashboard
import_tasks: tasks/dashboard.yml import_tasks: dashboard.yml
when: dashboard_enabled when: dashboard_enabled
tags: tags:
- dashboard - dashboard