ibm.ds8000.ds8000_host (1.1.0) — module

Manage DS8000 hosts

| "added in version" 1.0.0 of ibm.ds8000"

Authors: Matan Carmeli (@matancarmeli7)

Install collection

Install with ansible-galaxy collection install ibm.ds8000:==1.1.0


Add to requirements.yml

  collections:
    - name: ibm.ds8000
      version: 1.1.0

Description

Manage DS8000 hosts.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Ensure that a host exists in the storage
  ibm.ds8000.ds8000_host:
    hostname: "{{ ds8000_host }}"
    username: "{{ ds8000_username }}"
    password: "{{ ds8000_password }}"
    name: host_name_test
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Ensure that a host does not exist in the storage
  ibm.ds8000.ds8000_host:
    hostname: "{{ ds8000_host }}"
    username: "{{ ds8000_username }}"
    password: "{{ ds8000_password }}"
    name: host_name_test
    state: absent

Inputs

    
name:
    description:
    - The name of the DS8000 host to work with.
    required: true
    type: str

port:
    default: 8452
    description:
    - The port number of the DS8000 storage system HMC.
    type: int

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Specify the state the DS8000 host should be in.
    type: str

hostname:
    description:
    - The hostname or IP address of the DS8000 storage system HMC.
    required: true
    type: str

password:
    description:
    - The password for the DS8000 storage system I(username).
    required: true
    type: str

username:
    description:
    - The username for the DS8000 storage system.
    required: true
    type: str

host_type:
    default: Linux
    description:
    - The host type of the host that will be created on the DS8000 storage system.
    type: str

validate_certs:
    default: true
    description:
    - Controls validation of SSL chain of trust.
    - Set to C(no) to allow connection when SSL certificates are not trusted.
    type: bool