Ansible lint: whitespace

Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

Change-Id: I65d9604d8522f0a60fbfeea718a63866410768b6
This commit is contained in:
Mark Goddard 2020-01-13 10:36:05 +00:00
parent 9e3c774371
commit fe217e98c0
7 changed files with 19 additions and 19 deletions

View File

@ -17,8 +17,8 @@
bslurp: bslurp:
src: "{{ item.content }}" src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-osd/{{ item.filename }}" dest: "{{ node_config_directory }}/ceph-osd/{{ item.filename }}"
sha1: "{{ item.sha1 | default('')}}" sha1: "{{ item.sha1 | default('') }}"
sha256: "{{ item.sha256 | default('')}}" sha256: "{{ item.sha256 | default('') }}"
mode: 0600 mode: 0600
with_items: with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.admin.keyring'] }}"
@ -29,8 +29,8 @@
bslurp: bslurp:
src: "{{ item.content }}" src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-mon/{{ item.filename }}" dest: "{{ node_config_directory }}/ceph-mon/{{ item.filename }}"
sha1: "{{ item.sha1 | default('')}}" sha1: "{{ item.sha1 | default('') }}"
sha256: "{{ item.sha256 | default('')}}" sha256: "{{ item.sha256 | default('') }}"
mode: 0600 mode: 0600
with_items: with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.admin.keyring'] }}"
@ -44,7 +44,7 @@
bslurp: bslurp:
src: "{{ item.content }}" src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-mgr/{{ item.filename }}" dest: "{{ node_config_directory }}/ceph-mgr/{{ item.filename }}"
sha1: "{{ item.sha1 | default('')}}" sha1: "{{ item.sha1 | default('') }}"
sha256: "{{ item.sha256 | default('') }}" sha256: "{{ item.sha256 | default('') }}"
mode: 0600 mode: 0600
with_items: with_items:
@ -56,8 +56,8 @@
bslurp: bslurp:
src: "{{ item.content }}" src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-rgw/{{ item.filename }}" dest: "{{ node_config_directory }}/ceph-rgw/{{ item.filename }}"
sha1: "{{ item.sha1 | default('')}}" sha1: "{{ item.sha1 | default('') }}"
sha256: "{{ item.sha256 | default('')}}" sha256: "{{ item.sha256 | default('') }}"
mode: 0600 mode: 0600
with_items: with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.admin.keyring'] }}"
@ -69,8 +69,8 @@
bslurp: bslurp:
src: "{{ item.content }}" src: "{{ item.content }}"
dest: "{{ node_config_directory }}/ceph-nfs/{{ item.filename }}" dest: "{{ node_config_directory }}/ceph-nfs/{{ item.filename }}"
sha1: "{{ item.sha1 | default('')}}" sha1: "{{ item.sha1 | default('') }}"
sha256: "{{ item.sha256 | default('')}}" sha256: "{{ item.sha256 | default('') }}"
mode: 0600 mode: 0600
with_items: with_items:
- "{{ ceph_files['ceph.client.admin.keyring'] }}" - "{{ ceph_files['ceph.client.admin.keyring'] }}"

View File

@ -7,7 +7,7 @@
method: PUT method: PUT
status_code: 200 status_code: 200
return_content: yes return_content: yes
body: {"transient":{"cluster.routing.allocation.enable": "none"}} body: {"transient": {"cluster.routing.allocation.enable": "none"}}
body_format: json body_format: json
delegate_to: "{{ groups['elasticsearch'][0] }}" delegate_to: "{{ groups['elasticsearch'][0] }}"
run_once: true run_once: true

View File

@ -27,7 +27,7 @@
- name: Copying over influxdb config file - name: Copying over influxdb config file
vars: vars:
service: "{{ influxdb_services['influxdb']}}" service: "{{ influxdb_services['influxdb'] }}"
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "{{ node_config_directory }}/influxdb/influxdb.conf" dest: "{{ node_config_directory }}/influxdb/influxdb.conf"

View File

@ -66,7 +66,7 @@
- name: Copying over kuryr.spec - name: Copying over kuryr.spec
vars: vars:
service: "{{ kuryr_services['kuryr']}}" service: "{{ kuryr_services['kuryr'] }}"
template: template:
src: "kuryr.spec.j2" src: "kuryr.spec.j2"
dest: "{{ node_config_directory }}/{{ item }}/kuryr.spec" dest: "{{ node_config_directory }}/{{ item }}/kuryr.spec"

View File

@ -83,7 +83,7 @@
enabled: true enabled: true
- uuid: "{{ cinder_rbd_secret_uuid }}" - uuid: "{{ cinder_rbd_secret_uuid }}"
name: client.cinder secret name: client.cinder secret
enabled: "{{ enable_cinder | bool and cinder_backend_ceph | bool}}" enabled: "{{ enable_cinder | bool and cinder_backend_ceph | bool }}"
notify: notify:
- Restart nova-libvirt container - Restart nova-libvirt container
@ -102,7 +102,7 @@
enabled: true enabled: true
- uuid: "{{ cinder_rbd_secret_uuid }}" - uuid: "{{ cinder_rbd_secret_uuid }}"
content: "{{ cinder_cephx_raw_key.stdout|default('') }}" content: "{{ cinder_cephx_raw_key.stdout|default('') }}"
enabled: "{{ enable_cinder | bool and cinder_backend_ceph | bool}}" enabled: "{{ enable_cinder | bool and cinder_backend_ceph | bool }}"
notify: notify:
- Restart nova-libvirt container - Restart nova-libvirt container

View File

@ -64,7 +64,7 @@
- name: Copying over wsgi-panko files for services - name: Copying over wsgi-panko files for services
vars: vars:
service: "{{ panko_services['panko-api']}}" service: "{{ panko_services['panko-api'] }}"
template: template:
src: "wsgi-panko.conf.j2" src: "wsgi-panko.conf.j2"
dest: "{{ node_config_directory }}/{{ item }}/wsgi-panko.conf" dest: "{{ node_config_directory }}/{{ item }}/wsgi-panko.conf"

View File

@ -39,7 +39,7 @@
- name: Copying over custom prometheus alert rules files - name: Copying over custom prometheus alert rules files
become: true become: true
vars: vars:
service: "{{ prometheus_services['prometheus-server']}}" service: "{{ prometheus_services['prometheus-server'] }}"
copy: copy:
src: "{{ item.path }}" src: "{{ item.path }}"
dest: "{{ node_config_directory }}/prometheus-server/{{ item.path | basename }}" dest: "{{ node_config_directory }}/prometheus-server/{{ item.path | basename }}"
@ -55,7 +55,7 @@
- name: Copying over prometheus config file - name: Copying over prometheus config file
become: true become: true
vars: vars:
service: "{{ prometheus_services['prometheus-server']}}" service: "{{ prometheus_services['prometheus-server'] }}"
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "{{ node_config_directory }}/prometheus-server/prometheus.yml" dest: "{{ node_config_directory }}/prometheus-server/prometheus.yml"
@ -73,7 +73,7 @@
- name: Copying over prometheus alertmanager config file - name: Copying over prometheus alertmanager config file
become: true become: true
vars: vars:
service: "{{ prometheus_services['prometheus-alertmanager']}}" service: "{{ prometheus_services['prometheus-alertmanager'] }}"
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "{{ node_config_directory }}/prometheus-alertmanager/prometheus-alertmanager.yml" dest: "{{ node_config_directory }}/prometheus-alertmanager/prometheus-alertmanager.yml"
@ -91,7 +91,7 @@
- name: Copying over my.cnf for mysqld_exporter - name: Copying over my.cnf for mysqld_exporter
become: true become: true
vars: vars:
service: "{{ prometheus_services['prometheus-mysqld-exporter']}}" service: "{{ prometheus_services['prometheus-mysqld-exporter'] }}"
merge_configs: merge_configs:
sources: sources:
- "{{ node_custom_config }}/prometheus-mysqld-exporter/{{ inventory_hostname }}/my.cnf" - "{{ node_custom_config }}/prometheus-mysqld-exporter/{{ inventory_hostname }}/my.cnf"