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: Ie6350aa472a12e9f213ba1e3ab54e2772e38f3d7
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -48,6 +48,7 @@ logs/*
|
|||||||
.tox
|
.tox
|
||||||
*.egg-info
|
*.egg-info
|
||||||
.eggs
|
.eggs
|
||||||
|
.ansible
|
||||||
|
|
||||||
# Generated by pbr while building docs
|
# Generated by pbr while building docs
|
||||||
######################################
|
######################################
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ blazar_services:
|
|||||||
service_name: blazar-api
|
service_name: blazar-api
|
||||||
init_config_overrides: "{{ blazar_api_init_config_overrides }}"
|
init_config_overrides: "{{ blazar_api_init_config_overrides }}"
|
||||||
start_order: 1
|
start_order: 1
|
||||||
wsgi_app: True
|
wsgi_app: true
|
||||||
wsgi_name: blazar-api-wsgi
|
wsgi_name: blazar-api-wsgi
|
||||||
uwsgi_port: "{{ blazar_service_port }}"
|
uwsgi_port: "{{ blazar_service_port }}"
|
||||||
uwsgi_bind_address: "{{ blazar_bind_address }}"
|
uwsgi_bind_address: "{{ blazar_bind_address }}"
|
||||||
@@ -230,7 +230,7 @@ blazar_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}"
|
|||||||
blazar_pki_keys_path: "{{ blazar_pki_dir ~ '/certs/private/' }}"
|
blazar_pki_keys_path: "{{ blazar_pki_dir ~ '/certs/private/' }}"
|
||||||
blazar_pki_certs_path: "{{ blazar_pki_dir ~ '/certs/certs/' }}"
|
blazar_pki_certs_path: "{{ blazar_pki_dir ~ '/certs/certs/' }}"
|
||||||
blazar_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}"
|
blazar_pki_intermediate_cert_name: "{{ openstack_pki_service_intermediate_cert_name | default('ExampleCorpIntermediate') }}"
|
||||||
blazar_pki_regen_cert: ''
|
blazar_pki_regen_cert: ""
|
||||||
blazar_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
blazar_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
||||||
blazar_pki_certificates:
|
blazar_pki_certificates:
|
||||||
- name: "blazar_{{ ansible_facts['hostname'] }}"
|
- name: "blazar_{{ ansible_facts['hostname'] }}"
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Taseer Ahmed
|
author: Taseer Ahmed
|
||||||
description: Blazar deployment with OpenStack Ansible
|
description: Blazar deployment with OpenStack Ansible
|
||||||
|
|||||||
@@ -18,6 +18,6 @@
|
|||||||
command: >
|
command: >
|
||||||
{{ blazar_bin }}/blazar-db-manage
|
{{ blazar_bin }}/blazar-db-manage
|
||||||
--config-file {{ blazar_etc_dir }}/blazar.conf upgrade head
|
--config-file {{ blazar_etc_dir }}/blazar.conf upgrade head
|
||||||
become: yes
|
become: true
|
||||||
become_user: "{{ blazar_system_user_name }}"
|
become_user: "{{ blazar_system_user_name }}"
|
||||||
changed_when: False
|
changed_when: false
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
user:
|
user:
|
||||||
name: "{{ blazar_system_user_name }}"
|
name: "{{ blazar_system_user_name }}"
|
||||||
group: "{{ blazar_system_group_name }}"
|
group: "{{ blazar_system_group_name }}"
|
||||||
createhome: no
|
createhome: false
|
||||||
|
|
||||||
- name: Create blazar directories
|
- name: Create blazar directories
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user