aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-11-12 15:06:50 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2025-11-24 15:56:33 +0000
commitbe51eaef3cc56c4eb7a2a8af640e7038c5e95b7f (patch)
tree09238c52d0f12d835f0a762100fc86af57861423 /ansible
parentc8808ccaa1cf9a11b3fb52cd6f64897d7cc75e74 (diff)
downloadkolla-ansible-be51eaef3cc56c4eb7a2a8af640e7038c5e95b7f.tar.gz
kolla-ansible-be51eaef3cc56c4eb7a2a8af640e7038c5e95b7f.zip
ansible-lint: Fix yaml[truthy] in trove role
Change-Id: Ica1a6a89d42b5fec8e4f07f28f24176442e01b15 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/trove/tasks/bootstrap.yml4
-rw-r--r--ansible/roles/trove/tasks/bootstrap_service.yml4
-rw-r--r--ansible/roles/trove/tasks/config.yml2
3 files changed, 5 insertions, 5 deletions
diff --git a/ansible/roles/trove/tasks/bootstrap.yml b/ansible/roles/trove/tasks/bootstrap.yml
index ef820d1bf..2c3711bcd 100644
--- a/ansible/roles/trove/tasks/bootstrap.yml
+++ b/ansible/roles/trove/tasks/bootstrap.yml
@@ -11,7 +11,7 @@
login_user: "{{ trove_database_shard_root_user }}"
login_password: "{{ database_password }}"
name: "{{ trove_database_name }}"
- run_once: True
+ run_once: true
delegate_to: "{{ groups['trove-api'][0] }}"
when:
- not use_preconfigured_databases | bool
@@ -32,7 +32,7 @@
host: "%"
priv: "{{ trove_database_name }}.*:ALL"
append_privs: "yes"
- run_once: True
+ run_once: true
delegate_to: "{{ groups['trove-api'][0] }}"
when:
- not use_preconfigured_databases | bool
diff --git a/ansible/roles/trove/tasks/bootstrap_service.yml b/ansible/roles/trove/tasks/bootstrap_service.yml
index 74766ed07..d30eaf7cf 100644
--- a/ansible/roles/trove/tasks/bootstrap_service.yml
+++ b/ansible/roles/trove/tasks/bootstrap_service.yml
@@ -6,7 +6,7 @@
kolla_container:
action: "start_container"
common_options: "{{ docker_common_options }}"
- detach: False
+ detach: false
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
@@ -16,5 +16,5 @@
name: "bootstrap_trove"
restart_policy: oneshot
volumes: "{{ trove_api.volumes | reject('equalto', '') | list }}"
- run_once: True
+ run_once: true
delegate_to: "{{ groups[trove_api.group][0] }}"
diff --git a/ansible/roles/trove/tasks/config.yml b/ansible/roles/trove/tasks/config.yml
index 8427d0079..459b71c40 100644
--- a/ansible/roles/trove/tasks/config.yml
+++ b/ansible/roles/trove/tasks/config.yml
@@ -12,7 +12,7 @@
- name: Check if policies shall be overwritten
stat:
path: "{{ item }}"
- run_once: True
+ run_once: true
delegate_to: localhost
register: trove_policy
with_first_found: