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
This commit is contained in:
Marcin Juszkiewicz 2020-01-16 16:36:52 +01:00
parent 2c2eeb8159
commit 934fea1aac
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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