community / community.general / 8.5.0 / module / hponcfg Configure HP iLO interface using hponcfg Authors: Dag Wieers (@dagwieers)community.general.hponcfg (8.5.0) — module
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
This modules configures the HP iLO interface using hponcfg.
- name: Example hponcfg configuration XML ansible.builtin.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
- name: Configure HP iLO using enable-ssh.xml community.general.hponcfg: src: /tmp/enable-ssh.xml
- name: Configure HP iLO on VMware ESXi hypervisor community.general.hponcfg: src: /tmp/enable-ssh.xml executable: /opt/hp/tools/hponcfg
path: aliases: - src description: - The XML file as accepted by hponcfg. required: true type: path minfw: description: - The minimum firmware level needed. required: false type: str verbose: default: false description: - Run hponcfg in verbose mode (-v). type: bool executable: default: hponcfg description: - Path to the hponcfg executable (C(hponcfg) which uses $PATH). type: str