enfence / enfence.powerha_aix / 1.3.2 / module / service_ip manage service_ip resource in PowerHA cluster | "added in version" 1.0.0 of enfence.powerha_aix" Authors: Andrey Klyachkin (@aklyachkin)enfence.powerha_aix.service_ip (1.3.2) — module
Install with ansible-galaxy collection install enfence.powerha_aix:==1.3.2
collections: - name: enfence.powerha_aix version: 1.3.2
This module creates/deletes/changes service_ip resource in PowerHA cluster.
# create a new service ip label - name: create a new service ip label enfence.powerha_aix.service_ip: name: clusterip state: present
# delete an existing service ip - name: delete an existing service ip label enfence.powerha_aix.service_ip: name: clusterip state: absent
name: description: name of the service ip label. the name must be resolvable by using C(/etc/hosts). required: true type: str site: description: - site of the service ip. - added in 1.1.1 required: false type: str state: choices: - present - absent default: present description: - the desired state of the resource - C(present) or C(absent). - If the resource is already defined, it will not be changed. required: false type: str prefix: description: - bit prefix for the service ip. - prefix and netmask are mutually exclusive. required: false type: int netmask: description: - netmask for the service ip. - prefix and netmask are mutually exclusive. required: false type: str network: default: net_ether_01 description: name of the cluster network, where the service ip should be placed. required: false type: str
changed: description: set to true if the resource was changed returned: always type: bool msg: description: error and informational messages returned: always type: str rc: description: return code of the last executed command returned: always type: int stderr: description: standard error of the last executed command returned: always type: str stdout: description: standard output of the last executed command returned: always type: str