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: I8ed02208eb866f3b1d05624f4a18065a6835807e
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
## Verbosity Options
|
||||
debug: False
|
||||
debug: false
|
||||
|
||||
## APT Cache Options
|
||||
cache_timeout: 600
|
||||
@@ -70,7 +70,7 @@ repo_pki_setup_host: "{{ openstack_pki_setup_host | default('localhost') }}"
|
||||
|
||||
# repo server certificate SAN if user did not provide own certs
|
||||
repo_pki_san: "{{ openstack_pki_san | default('DNS:' ~ ansible_facts['hostname'] ~ ',IP:' ~ management_address) }}"
|
||||
repo_pki_regen_cert: ''
|
||||
repo_pki_regen_cert: ""
|
||||
|
||||
repo_ssl_protocol: "{{ ssl_protocol | default('ALL -SSLv2 -SSLv3 -TLSv1 -TLSv1.1') }}"
|
||||
# TLS v1.2 and below
|
||||
|
||||
@@ -17,4 +17,4 @@
|
||||
community.general.git_config:
|
||||
scope: system
|
||||
name: pack.threads
|
||||
value: '0'
|
||||
value: "0"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
- name: apt_package_pinning
|
||||
src: https://opendev.org/openstack/openstack-ansible-apt_package_pinning
|
||||
scm: git
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
ansible_host: 10.1.0.2
|
||||
ansible_become: True
|
||||
ansible_become: true
|
||||
ansible_user: root
|
||||
container_name: container1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
ansible_host: 10.1.0.3
|
||||
ansible_become: True
|
||||
ansible_become: true
|
||||
ansible_user: root
|
||||
container_name: container2
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
ansible_host: 10.1.0.4
|
||||
ansible_become: True
|
||||
ansible_become: true
|
||||
ansible_user: root
|
||||
container_name: container3
|
||||
|
||||
@@ -15,4 +15,3 @@
|
||||
|
||||
bridges:
|
||||
- "br-mgmt"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user