ansible.builtin.hponcfg (v2.9.27) — module

Configure HP iLO interface using hponcfg

| "added in version" 2.3 of ansible.builtin"

Authors: Dag Wieers (@dagwieers)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

This modules configures the HP iLO interface using hponcfg.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Example hponcfg configuration XML
  copy:
    content: |
      <ribcl VERSION="2.0">
        <login USER_LOGIN="user" PASSWORD="password">
          <rib_info MODE="WRITE">
            <mod_global_settings>
              <session_timeout value="0"/>
              <ssh_status value="Y"/>
              <ssh_port value="22"/>
              <serial_cli_status value="3"/>
              <serial_cli_speed value="5"/>
            </mod_global_settings>
          </rib_info>
        </login>
      </ribcl>
    dest: /tmp/enable-ssh.xml
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Configure HP iLO using enable-ssh.xml
  hponcfg:
    src: /tmp/enable-ssh.xml
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Configure HP iLO on VMware ESXi hypervisor
  hponcfg:
    src: /tmp/enable-ssh.xml
    executable: /opt/hp/tools/hponcfg

Inputs

    
path:
    aliases:
    - src
    description:
    - The XML file as accepted by hponcfg.
    required: true

minfw:
    description:
    - The minimum firmware level needed.
    required: false

verbose:
    default: false
    description:
    - Run hponcfg in verbose mode (-v).
    type: bool
    version_added: '2.4'
    version_added_collection: ansible.builtin

executable:
    default: hponcfg
    description:
    - Path to the hponcfg executable (`hponcfg` which uses $PATH).
    version_added: '2.4'
    version_added_collection: ansible.builtin