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: