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:
parent
6938bf1271
commit
aed226f321
1
.gitignore
vendored
1
.gitignore
vendored
@ -45,6 +45,7 @@ logs/*
|
|||||||
# OS generated files #
|
# OS generated files #
|
||||||
######################
|
######################
|
||||||
._*
|
._*
|
||||||
|
.ansible
|
||||||
.tox
|
.tox
|
||||||
*.egg-info
|
*.egg-info
|
||||||
.eggs
|
.eggs
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
hosts: rally_all
|
hosts: rally_all
|
||||||
user: root
|
user: root
|
||||||
roles:
|
roles:
|
||||||
- role: "os_rally"
|
- role: "os_rally"
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
|
||||||
- name: Including osa.db_setup role
|
- name: Including osa.db_setup role
|
||||||
include_role:
|
include_role:
|
||||||
name: openstack.osa.db_setup
|
name: openstack.osa.db_setup
|
||||||
@ -53,7 +52,7 @@
|
|||||||
- name: Retrieve the constraints URL
|
- name: Retrieve the constraints URL
|
||||||
uri:
|
uri:
|
||||||
url: "{{ rally_upper_constraints_url }}"
|
url: "{{ rally_upper_constraints_url }}"
|
||||||
return_content: yes
|
return_content: true
|
||||||
register: _u_c_contents_uri
|
register: _u_c_contents_uri
|
||||||
until: _u_c_contents_uri is success
|
until: _u_c_contents_uri is success
|
||||||
retries: 5
|
retries: 5
|
||||||
@ -63,8 +62,8 @@
|
|||||||
|
|
||||||
- name: Retrieve local filesystem upper constraints in CI
|
- name: Retrieve local filesystem upper constraints in CI
|
||||||
command: >-
|
command: >-
|
||||||
git --git-dir={{ rally_openstack_git_repo.split('file://')[1] }}/.git show
|
git --git-dir={{ rally_openstack_git_repo.split('file://')[1] }}/.git show
|
||||||
{{ rally_openstack_git_install_branch | default('master') }}:upper-constraints.txt
|
{{ rally_openstack_git_install_branch | default('master') }}:upper-constraints.txt
|
||||||
when: rally_openstack_git_repo is search('file://')
|
when: rally_openstack_git_repo is search('file://')
|
||||||
register: _u_c_contents_git
|
register: _u_c_contents_git
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
Loading…
x
Reference in New Issue
Block a user