From 934fea1aac2eedb683b8c39b60a921c06cf8d293 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 16 Jan 2020 16:36:52 +0100 Subject: [PATCH] Ansible lint: disable some checks 204 for very long url which is hard to break safely 306 for "echo | docker" as echo should not fall Change-Id: I14df39d611d39ad1f6184ab92d628cb010881fbb --- ansible/roles/haproxy/tasks/precheck.yml | 2 +- ansible/roles/kibana/tasks/post_config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/haproxy/tasks/precheck.yml b/ansible/roles/haproxy/tasks/precheck.yml index 74a692b13b..6c32157ca6 100644 --- a/ansible/roles/haproxy/tasks/precheck.yml +++ b/ansible/roles/haproxy/tasks/precheck.yml @@ -219,7 +219,7 @@ - inventory_hostname in groups['haproxy'] - name: Getting haproxy stat - shell: echo "show stat" | docker exec -i haproxy socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio + shell: echo "show stat" | docker exec -i haproxy socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock stdio # noqa 306 register: haproxy_stat_shell changed_when: false failed_when: false diff --git a/ansible/roles/kibana/tasks/post_config.yml b/ansible/roles/kibana/tasks/post_config.yml index bc3b512550..3f75ab223a 100644 --- a/ansible/roles/kibana/tasks/post_config.yml +++ b/ansible/roles/kibana/tasks/post_config.yml @@ -60,7 +60,7 @@ - name: Add index pattern to kibana uri: - url: "{{ internal_protocol }}://{{ kolla_internal_vip_address | put_address_in_context('url') }}:{{ elasticsearch_port }}/.kibana/index-pattern/{{ kibana_default_index_pattern }}" + url: "{{ internal_protocol }}://{{ kolla_internal_vip_address | put_address_in_context('url') }}:{{ elasticsearch_port }}/.kibana/index-pattern/{{ kibana_default_index_pattern }}" # noqa 204 method: PUT body: "{{ kibana_default_index | to_json }}" body_format: json