Skip to content

Commit

Permalink
fix: formatting readme and jinja2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelmamula authored and spetrosi committed Oct 16, 2024
1 parent f0f3242 commit e75d464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.</br>
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`
Expand Down
5 changes: 3 additions & 2 deletions tasks/shell_crmsh/crm-cluster-properties.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e75d464

Please sign in to comment.