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 # # OS generated files #
###################### ######################
._* ._*
.ansible
.tox .tox
*.egg-info *.egg-info
.eggs .eggs

View File

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

View File

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

View File

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