Fix linting in ansible-kibana tasks

This commit is contained in:
Jose M 2019-09-25 12:47:49 +02:00
parent 5646848266
commit 133cda683a

View File

@ -17,12 +17,12 @@
- name: Copying node's certificate from master - name: Copying node's certificate from master
copy: copy:
src: "{{item}}" src: "{{ item }}"
dest: "{{node_certs_destination}}/" dest: "{{ node_certs_destination }}/"
with_items: with_items:
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.key" - "{{ master_certs_path }}/{{ kibana_node_name }}/{{ kibana_node_name }}.key"
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.crt" - "{{ master_certs_path }}/{{ kibana_node_name }}/{{ kibana_node_name }}.crt"
- "{{master_certs_path}}/ca/ca.crt" - "{{ master_certs_path }}/ca/ca.crt"
tags: xpack-security tags: xpack-security
when: when:
- kibana_xpack_security - kibana_xpack_security
@ -30,13 +30,13 @@
- name: Copying node's certificate from master (Custom CA) - name: Copying node's certificate from master (Custom CA)
copy: copy:
src: "{{item}}" src: "{{ item }}"
dest: "{{node_certs_destination}}/" dest: "{{ node_certs_destination }}/"
mode: '0664' mode: '0664'
with_items: with_items:
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.key" - "{{ master_certs_path }}/{{ kibana_node_name }}/{{ kibana_node_name }}.key"
- "{{master_certs_path}}/{{kibana_node_name}}/{{ kibana_node_name }}.crt" - "{{ master_certs_path }}/{{ kibana_node_name }}/{{ kibana_node_name }}.crt"
- "{{master_certs_path}}/ca/{{ca_cert_name}}" - "{{ master_certs_path }}/ca/{{ ca_cert_name }}"
when: when:
- kibana_xpack_security - kibana_xpack_security
- not generate_CA - not generate_CA
@ -69,7 +69,7 @@
dest: /etc/kibana/kibana.yml dest: /etc/kibana/kibana.yml
owner: root owner: root
group: root group: root
mode: '0664' mode: '0664'
notify: restart kibana notify: restart kibana
tags: configure tags: configure