Auto-fix yaml rules
In order to reduce divergance with ansible-lint rules, we apply auto-fixing of violations. In current patch we replace all kind of truthy variables with `true` or `false` values to align with recommendations along with alignment of used quotes. Change-Id: Ib0fb0e66e6d4b79f03e7ffd934a2e34a1851b06d
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -48,6 +48,7 @@ logs/*
|
||||
.tox
|
||||
*.egg-info
|
||||
.eggs
|
||||
.ansible
|
||||
|
||||
# Generated by pbr while building docs
|
||||
######################################
|
||||
|
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
## Verbosity Options
|
||||
debug: False
|
||||
debug: false
|
||||
|
||||
# Set the host which will execute the shade modules
|
||||
# for the service setup. The host must already have
|
||||
@@ -197,7 +197,7 @@ aodh_services:
|
||||
group: aodh_api
|
||||
service-name: aodh-api
|
||||
init_config_overrides: "{{ aodh_api_init_overrides }}"
|
||||
wsgi_app: True
|
||||
wsgi_app: true
|
||||
wsgi_name: aodh-api
|
||||
uwsgi_overrides: "{{ aodh_uwsgi_conf_overrides }}"
|
||||
uwsgi_port: "{{ aodh_service_port }}"
|
||||
@@ -226,7 +226,7 @@ aodh_required_secrets:
|
||||
- aodh_oslomsg_notify_password
|
||||
- aodh_service_password
|
||||
|
||||
install_test_packages: False
|
||||
install_test_packages: false
|
||||
|
||||
## Tunable overrides
|
||||
aodh_policy_overrides: {}
|
||||
@@ -252,7 +252,7 @@ aodh_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}"
|
||||
aodh_pki_keys_path: "{{ aodh_pki_dir ~ '/certs/private/' }}"
|
||||
aodh_pki_certs_path: "{{ aodh_pki_dir ~ '/certs/certs/' }}"
|
||||
aodh_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}"
|
||||
aodh_pki_regen_cert: ''
|
||||
aodh_pki_regen_cert: ""
|
||||
aodh_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
||||
aodh_pki_certificates:
|
||||
- name: "aodh_{{ ansible_facts['hostname'] }}"
|
||||
|
@@ -16,9 +16,9 @@
|
||||
- name: Stop services
|
||||
service:
|
||||
name: "{{ item.service_name }}"
|
||||
enabled: yes
|
||||
enabled: true
|
||||
state: "stopped"
|
||||
daemon_reload: yes
|
||||
daemon_reload: true
|
||||
with_items: "{{ filtered_aodh_services }}"
|
||||
register: _stop
|
||||
until: _stop is success
|
||||
@@ -33,9 +33,9 @@
|
||||
- name: Start services
|
||||
service:
|
||||
name: "{{ item.service_name }}"
|
||||
enabled: yes
|
||||
enabled: true
|
||||
state: "started"
|
||||
daemon_reload: yes
|
||||
daemon_reload: true
|
||||
with_items: "{{ filtered_aodh_services }}"
|
||||
register: _start
|
||||
until: _start is success
|
||||
|
@@ -15,6 +15,6 @@
|
||||
|
||||
- name: Perform a Aodh DB sync
|
||||
command: "{{ aodh_bin }}/aodh-dbsync"
|
||||
become: yes
|
||||
become: true
|
||||
become_user: "{{ aodh_system_user_name }}"
|
||||
changed_when: false
|
||||
|
@@ -1,3 +1,4 @@
|
||||
---
|
||||
# Copyright 2017, Rackspace US, Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
Reference in New Issue
Block a user