enfence / enfence.powerha_aix / 1.3.2 / module / fc manage file_collection resource in PowerHA cluster | "added in version" 1.3.0 of enfence.powerha_aix" Authors: Andrey Klyachkin (@aklyachkin)enfence.powerha_aix.fc (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 file_collection resource in PowerHA cluster.
# create file collection - name: file collection profiles enfence.powerha_aix.fc: name: profiles sync_when_changed: true sync_with_cluster: true files: - /home/sapadm/.profile - /home/sapadm/.login - /home/sapadm/.sapenv.sh - /home/sapadm/.dbenv.sh
# manually synchronize collection - name: synchronize profiles fc enfence.powerha_aix.fc: name: profiles state: synced
# delete file collection - name: delete file collection profiles enfence.powerha_aix.fc: name: profiles state: absent
name: description: name of the file collection. required: true type: str files: description: - list of files to be synchronized between cluster nodes. elements: str required: false type: list state: choices: - present - absent - synced default: present description: - the desired state of the file collection - C(present), C(absent). required: false type: str description: aliases: - desc - descr description: description of the file collection. required: false type: str sync_when_changed: description: - if I(true), the file collection will be checked for changes automatically by the cluster. - if the cluster detects changes on the files in the collection, they will be automatically propagated to other nodes. required: false type: bool sync_with_cluster: description: - if I(true), the file collection will be automatically synchronized during cluster synchronization. required: false type: bool
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