aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorMartin Hiner <martin.hiner@tietoevry.com>2024-05-27 14:16:17 +0200
committerMartin Hiner <martin.hiner@tietoevry.com>2024-05-27 14:31:48 +0200
commit69cdc6dbc8b7bcc5ebffbe9ec7c84e5d4ad5c839 (patch)
treeaa198534b1aaf31c269bc1981136b3f9a8751997 /ansible
parentcbf514869aa641091a0577c43d76ba851c9bc264 (diff)
downloadkolla-ansible-69cdc6dbc8b7bcc5ebffbe9ec7c84e5d4ad5c839.tar.gz
kolla-ansible-69cdc6dbc8b7bcc5ebffbe9ec7c84e5d4ad5c839.zip
Fix missing commas in kolla_podman_worker
List of strings CONTAINER_PARAMS is missing comma separators, which makes it an implicit concatenation of list items that should be separate. Closes-Bug: #2067278 Change-Id: Iec9a8de184481dae058377fa8d7bbd8da729d62c Signed-off-by: Martin Hiner <martin.hiner@tietoevry.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/module_utils/kolla_podman_worker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/module_utils/kolla_podman_worker.py b/ansible/module_utils/kolla_podman_worker.py
index 9e27dece4..1f9b57067 100644
--- a/ansible/module_utils/kolla_podman_worker.py
+++ b/ansible/module_utils/kolla_podman_worker.py
@@ -30,12 +30,12 @@ CONTAINER_PARAMS = [
'cpu_period', # int
'cpu_quota', # int
'cpuset_cpus', # str
- 'cpu_shares' # int
+ 'cpu_shares', # int
'cpuset_mems', # str
'kernel_memory', # int or string
'mem_limit', # (Union[int, str])
'mem_reservation', # (Union[int, str]): Memory soft limit.
- 'memswap_limit' # (Union[int, str]): Maximum amount of memory
+ 'memswap_limit', # (Union[int, str]): Maximum amount of memory
# + swap a container is allowed to consume.
'ulimits', # List[Ulimit]
'blkio_weight', # int between 10 and 1000
@@ -58,7 +58,7 @@ CONTAINER_PARAMS = [
'remove', # bool
'restart_tries', # int doesn't matter done by systemd
'stop_timeout', # int
- 'tty' # bool
+ 'tty', # bool
# VOLUMES NOT WORKING HAS TO BE DONE WITH MOUNTS
'volumes', # array of dict
'volumes_from', # array of strings