sap.sap_operations.hdbuserstore_info module – Get information from HANA user store (HANA command hdbsuserstore)

Note

This module is part of the sap.sap_operations collection (version 1.0.2).

To install it, use: ansible-galaxy collection install sap.sap_operations. You need further requirements to be able to use this module, see Requirements for details.

To use it in a playbook, specify: sap.sap_operations.hdbuserstore_info.

New in sap.sap_operations 1.0.0

Synopsis

  • Get information from HANA user store (HANA command hdbsuserstore) Key name is returned in case key exists (set previously)

Requirements

The below requirements are needed on the host that executes this module.

  • python >= 3.6

Parameters

Parameter

Comments

binary_path

string

Custom path of the hdbuserstore binary.

key

string

Get info about the key.

Notes

Note

  • See NOTE in documentation for hdbuserstore module in regards to running ansible modules when becoming <hanasid>adm user with ‘-i’ flag. Otherwise you might face issues with ansible module executions in SAP HANA environments.

Examples

- name: Get info about the key mykey from HDB user store
  sap.sap_operations.hdbuserstore_info:
    key: mykey

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

stdout

string

HDB key info

Returned: always

Authors

  • Ondra Machacek (@machacekondra)