Skip to content

Commit

Permalink
docs: fix case of 'ACLs'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjelinek authored and richm committed Feb 28, 2024
1 parent bd67021 commit 726056a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ You may take a look at

#### ha_cluster_acls

structure, default: no acls
structure, default: no ACLs

```yaml
ha_cluster_acls:
Expand Down Expand Up @@ -1225,8 +1225,8 @@ This variable defines ACLs roles, users and groups.
The items of `acl_roles` are as follows:

* `id` (mandatory) - ID of an ACL role.
* `description` (optional) - Description of the acl role.
* `permissions` (optional) - List of acl role permissions.
* `description` (optional) - Description of the ACL role.
* `permissions` (optional) - List of ACL role permissions.
* `kind` (mandatory) - The access being granted. Allowed values are `read`,
`write`, and `deny`.
* `xpath` (optional) - An XPath specification selecting an XML element in the
Expand All @@ -1238,15 +1238,15 @@ The items of `acl_roles` are as follows:

The items of `acl_users` are as follows:

* `id` (mandatory) - ID of an acl user.
* `id` (mandatory) - ID of an ACL user.
* `roles` (optional) - List of ACL role IDs assigned to the user.

The items of `acl_groups` are as follows:

* `id` (mandatory) - ID of an acl group.
* `id` (mandatory) - ID of an ACL group.
* `roles` (optional) - List of ACL role IDs assigned to the group.

**Note:** Configure cluster property `enable-acl` to enable acls in the cluster:
**Note:** Configure cluster property `enable-acl` to enable ACLs in the cluster:

```yaml
ha_cluster_cluster_properties:
Expand Down Expand Up @@ -1988,14 +1988,14 @@ Note that you cannot run a quorum device on a cluster node.
- linux-system-roles.ha_cluster
```
### Configuring acls
### Configuring ACLs
```yaml
- hosts: node1 node2
vars:
ha_cluster_cluster_name: my-new-cluster
ha_cluster_hacluster_password: password
# To use an acl role permission reference, the reference must exist in CIB.
# To use an ACL role permission reference, the reference must exist in CIB.
ha_cluster_resource_primitives:
- id: not-for-operator
# wokeignore:rule=dummy
Expand Down

0 comments on commit 726056a

Please sign in to comment.