Skip to content

Commit

Permalink
sap_ha_pacemaker_cluster: improved arg specs explanation for storage …
Browse files Browse the repository at this point in the history
…definition
  • Loading branch information
ja9fuchs committed Sep 27, 2023
1 parent 8162ef6 commit 000f7e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
23 changes: 6 additions & 17 deletions roles/sap_ha_pacemaker_cluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -692,23 +692,12 @@ sap_ha_pacemaker_cluster_stonith_custom:
- _Type:_ `list`

List of filesystem definitions used for filesystem cluster resources.<br>
Uses `sap_storage_setup_definition` when defined.<br>

- **mountpoint**<br>
Path under which the filesystem will be mounted.<br>Mandatory for all filesystems that have a mountpoint.<br>Special treatment for a generic "/usr/sap" which will automatically be duplicated into the 2 standard sub-directories "/usr/sap/<SID>/<instance_type><instance_number>" and "/usr/sap/<SID>/SYS".
- **name**<br>
Unique name of the filesystem definition entry.
- **nfs_filesystem_type**<br>
_Default:_ `<sap_ha_pacemaker_cluster_storage_nfs_filesytem_type>`<br>
NFS filesystem type used to mount this filesystem.
- **nfs_mount_options**<br>
_Default:_ `<sap_ha_pacemaker_cluster_storage_nfs_mount_options>`<br>
Mount options to be used for this specific filesystem.
- **nfs_path**<br>
Path to the filesystem source directory on the NFS server.
- **nfs_server**<br>
_Default:_ `<sap_ha_pacemaker_cluster_storage_nfs_server>`<br>
Name of the NFS server for this particular filesystem.
Options relevant, see example.<br>
Mandatory for SAP NetWeaver HA cluster configurations.<br>
Reuse `sap_storage_setup_definition` if defined.<br>
Reuse `sap_storage_setup_definition` will extract values 'mountpoint', 'nfs_filesystem_type', 'nfs_mount_options', 'nfs_path', 'nfs_server'.<br>
Reuse `sap_storage_setup_definition` all options are documented under Ansible Role `sap_storage_setup`.<br>
Note! For this variable, the argument specification does not list options, to avoid errors during reuse of `sap_storage_setup_definition` if defined.<br>

Example:

Expand Down
9 changes: 6 additions & 3 deletions roles/sap_ha_pacemaker_cluster/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,12 @@ argument_specs:
type: list
description:
- List of filesystem definitions used for filesystem cluster resources.
- Uses `sap_storage_setup_definition` when defined.
- For all options, see documentation of role `sap_storage_setup`.
- Options relevant for the HA setup, see below example.
- Options relevant, see example.
- Mandatory for SAP NetWeaver HA cluster configurations.
- Reuse `sap_storage_setup_definition` if defined.
- Reuse `sap_storage_setup_definition` will extract values 'mountpoint', 'nfs_filesystem_type', 'nfs_mount_options', 'nfs_path', 'nfs_server'.
- Reuse `sap_storage_setup_definition` all options are documented under Ansible Role `sap_storage_setup`.
- Note! For this variable, the argument specification does not list options, to avoid errors during reuse of `sap_storage_setup_definition` if defined.
elements: dict

example:
Expand Down

0 comments on commit 000f7e3

Please sign in to comment.