Skip to content

Commit

Permalink
fix: naming + documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjelinek authored and richm committed Apr 20, 2024
1 parent 00df91b commit 86292ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ The items are as follows:
* `attributes` (optional) - List of sets of Pacemaker node attributes for the
node. Currently, only one set is supported, so the first set is used and the
rest are ignored.
* `utilization` (optional) - List of sets of the node's utilization.The field
* `utilization` (optional) - List of sets of the node's utilization. The field
`value` must be an integer. Currently, only one set is supported, so the first
set is used and the rest are ignored.

Expand Down Expand Up @@ -2201,8 +2201,6 @@ Note that you cannot run a quorum device on a cluster node.
```yaml
- hosts: node1 node2
vars:
ha_cluster_manage_firewall: true
ha_cluster_manage_selinux: true
ha_cluster_cluster_name: my-new-cluster
ha_cluster_hacluster_password: password
# For utilization to have an effect, the `placement-strategy` property
Expand Down
2 changes: 1 addition & 1 deletion examples/utilization.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: MIT
---
- name: Example ha_cluster role invocation - node attributes definition
- name: Example ha_cluster role invocation - utilization definition
hosts: node1 node2
vars:
ha_cluster_manage_firewall: true
Expand Down
2 changes: 1 addition & 1 deletion tasks/shell_pcs/pcs-cib-resource-primitive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
check_mode: false
changed_when: not ansible_check_mode

- name: Configure utilization for resource {{ resource.id }}
- name: Configure utilization for resource primitive {{ resource.id }}
command:
# Multiple sets of utilization per node are not supported by pcs (and
# therefore the role) as of yet
Expand Down

0 comments on commit 86292ed

Please sign in to comment.