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: I00d111a05e332fa9a01fd106b8e35770231e0fd8
This commit is contained in:
Dmitriy Rabotyagov 2025-02-13 07:58:43 +01:00
parent 85b029e286
commit b25db7deda
4 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

@ -14,7 +14,7 @@
# limitations under the License.
## Logging level
debug: False
debug: false
## APT Cache Options
cache_timeout: 600
@ -51,4 +51,4 @@ memcached_connections: 4096
memcached_threads: 4
memcached_file_limits: "{{ memcached_connections | int + 1024 }}"
install_test_packages: False
install_test_packages: false

View File

@ -1,3 +1,4 @@
---
- name: Install Memcached
hosts: memcached
user: root

View File

@ -17,5 +17,5 @@
systemd:
name: "memcached"
state: "restarted"
enabled: yes
daemon_reload: yes
enabled: true
daemon_reload: true