From e75d4644d60a8fdfca177afbed6a696f8e86ee2a Mon Sep 17 00:00:00 2001 From: Marcel Mamula Date: Tue, 15 Oct 2024 15:30:54 +0200 Subject: [PATCH] fix: formatting readme and jinja2 --- README.md | 2 +- tasks/shell_crmsh/crm-cluster-properties.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df58b75..48dd5f0 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ preferred for that, so that its default value is overridden. boolean, default: `false` -If set to `true`, all packages will be installed with latest version.
+If set to `true`, all packages will be installed with latest version. If set to `false`, existing packages will not be updated. #### `ha_cluster_hacluster_password` diff --git a/tasks/shell_crmsh/crm-cluster-properties.yml b/tasks/shell_crmsh/crm-cluster-properties.yml index c36d8f1..eb5375b 100644 --- a/tasks/shell_crmsh/crm-cluster-properties.yml +++ b/tasks/shell_crmsh/crm-cluster-properties.yml @@ -7,8 +7,9 @@ ansible.builtin.set_fact: __ha_cluster_property_attr: "{{ (properties_set.attrs + [{'name': 'stonith-enabled', 'value': 'true'}]) - if properties_set.attrs | selectattr('name', 'equalto', 'stonith-enabled') | list | length == 0 - else properties_set.attrs }}" # yamllint disable-line rule:line-length + if properties_set.attrs + | selectattr('name', 'equalto', 'stonith-enabled') | list | length == 0 + else properties_set.attrs }}" - name: Configure cluster properties set ansible.builtin.command: