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: I161e8d5a0ecd9acabb542e9389580ceeafcf27ea
This commit is contained in:
Dmitriy Rabotyagov 2025-02-17 11:03:01 +01:00
parent 18fe314b5d
commit 531e5fd90e
5 changed files with 6 additions and 4 deletions

1
.gitignore vendored
View File

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

View File

@ -1,3 +1,4 @@
---
galaxy_info:
author: vexxhost
description: Installation and configuration of uwsgi

View File

@ -53,7 +53,7 @@
venv_install_distro_package_list: "{{ uwsgi_source_package_list }}"
venv_python_executable: "{{ uwsgi_python_executable }}"
venv_facts_when_changed:
- section: 'uwsgi'
option: 'venv_tag'
- section: "uwsgi"
option: "venv_tag"
value: "{{ uwsgi_venv_tag }}"
when: uwsgi_install_method == 'source'

View File

@ -16,7 +16,7 @@
## APT Cache options
cache_timeout: 600
uwsgi_bin: '/usr/bin'
uwsgi_bin: "/usr/bin"
_uwsgi_distro_libpython:
buster: libpython3.7

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
uwsgi_bin: '/usr/sbin'
uwsgi_bin: "/usr/sbin"
uwsgi_distro_packages:
- uwsgi