community / community.general / 0.1.4 / module / infini_host Create, Delete and Modify Hosts on Infinibox Authors: Gregory Shulov (@GR360RY)community.general.infini_host (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
This module creates, deletes or modifies hosts on Infinibox.
- name: Create new new host infini_host: name: foo.example.com user: admin password: secret system: ibox001
- name: Make sure host bar is available with wwn ports infini_host: name: bar.example.com wwns: - "00:00:00:00:00:00:00" - "11:11:11:11:11:11:11" system: ibox01 user: admin password: secret
- name: Map host foo.example.com to volume bar infini_host: name: foo.example.com volume: bar system: ibox01 user: admin password: secret
name: description: - Host Name required: true user: description: - Infinibox User username with sufficient priveledges ( see notes ). required: false wwns: description: - List of wwns of the host required: false state: choices: - present - absent default: present description: - Creates/Modifies Host when present or removes when absent required: false system: description: - Infinibox Hostname or IPv4 Address. required: true type: str volume: description: - Volume name to map to the host required: false password: description: - Infinibox User password. type: str