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: I3f4375c6218f6a0f92fdb1c33471d2ab827ba4be
This commit is contained in:
Dmitriy Rabotyagov 2025-02-12 14:24:45 +01:00
parent 6938bf1271
commit aed226f321
3 changed files with 5 additions and 5 deletions

1
.gitignore vendored
View File

@ -45,6 +45,7 @@ logs/*
# OS generated files #
######################
._*
.ansible
.tox
*.egg-info
.eggs

View File

@ -3,4 +3,4 @@
hosts: rally_all
user: root
roles:
- role: "os_rally"
- role: "os_rally"

View File

@ -24,7 +24,6 @@
tags:
- always
- name: Including osa.db_setup role
include_role:
name: openstack.osa.db_setup
@ -53,7 +52,7 @@
- name: Retrieve the constraints URL
uri:
url: "{{ rally_upper_constraints_url }}"
return_content: yes
return_content: true
register: _u_c_contents_uri
until: _u_c_contents_uri is success
retries: 5
@ -63,8 +62,8 @@
- name: Retrieve local filesystem upper constraints in CI
command: >-
git --git-dir={{ rally_openstack_git_repo.split('file://')[1] }}/.git show
{{ rally_openstack_git_install_branch | default('master') }}:upper-constraints.txt
git --git-dir={{ rally_openstack_git_repo.split('file://')[1] }}/.git show
{{ rally_openstack_git_install_branch | default('master') }}:upper-constraints.txt
when: rally_openstack_git_repo is search('file://')
register: _u_c_contents_git
delegate_to: localhost