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: I3e5d17d5f424643bbb3af1c58cc596b85d108626
This commit is contained in:
parent
f95c389118
commit
b8f42066f4
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
|
||||
|
||||
# python venv executable
|
||||
cloudkitty_venv_python_executable: "{{ openstack_venv_python_executable | default('python3') }}"
|
||||
@ -196,7 +196,7 @@ cloudkitty_services:
|
||||
service_name: cloudkitty-api
|
||||
init_config_overrides: "{{ cloudkitty_api_init_overrides }}"
|
||||
start_order: 1
|
||||
wsgi_app: True
|
||||
wsgi_app: true
|
||||
wsgi_path: "{{ cloudkitty_bin }}/cloudkitty-api"
|
||||
uwsgi_overrides: "{{ cloudkitty_api_uwsgi_overrides }}"
|
||||
uwsgi_port: "{{ cloudkitty_service_port }}"
|
||||
@ -242,7 +242,7 @@ cloudkitty_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }
|
||||
cloudkitty_pki_keys_path: "{{ cloudkitty_pki_dir ~ '/certs/private/' }}"
|
||||
cloudkitty_pki_certs_path: "{{ cloudkitty_pki_dir ~ '/certs/certs/' }}"
|
||||
cloudkitty_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}"
|
||||
cloudkitty_pki_regen_cert: ''
|
||||
cloudkitty_pki_regen_cert: ""
|
||||
cloudkitty_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
||||
cloudkitty_pki_certificates:
|
||||
- name: "cloudkitty_{{ ansible_facts['hostname'] }}"
|
||||
|
@ -1,14 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Gather cloudkitty facts
|
||||
hosts: cloudkitty_all
|
||||
gather_facts: True
|
||||
gather_facts: true
|
||||
tags:
|
||||
- always
|
||||
|
||||
- name: Install cloudkitty services
|
||||
hosts: cloudkitty_all
|
||||
gather_facts: False
|
||||
gather_facts: false
|
||||
serial:
|
||||
- 1
|
||||
- "100%"
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
- name: Perform a cloudkitty DB sync
|
||||
command: "{{ cloudkitty_bin }}/cloudkitty-dbsync upgrade"
|
||||
become: yes
|
||||
become: true
|
||||
become_user: "{{ cloudkitty_system_user_name }}"
|
||||
changed_when: false
|
||||
tags:
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
- name: Init cloudkitty storage backend
|
||||
command: "{{ cloudkitty_bin }}/cloudkitty-storage-init"
|
||||
become: yes
|
||||
become: true
|
||||
become_user: "{{ cloudkitty_system_user_name }}"
|
||||
changed_when: false
|
||||
tags:
|
||||
|
@ -150,7 +150,6 @@
|
||||
- cloudkitty-config
|
||||
- uwsgi
|
||||
|
||||
|
||||
- name: Including osa.service_setup role
|
||||
include_role:
|
||||
name: openstack.osa.service_setup
|
||||
|
@ -19,4 +19,4 @@
|
||||
- openstack-ansible-linters-jobs
|
||||
- openstack-ansible-deploy-aio_metal-jobs
|
||||
- publish-openstack-docs-pti
|
||||
- build-release-notes-jobs-python3
|
||||
- build-release-notes-jobs-python3
|
||||
|
Loading…
x
Reference in New Issue
Block a user