ieisystem / ieisystem.inmanage / 1.1.1 / module / edit_media_instance Set Virtual Media Instance | "added in version" 1.0.0 of ieisystem.inmanage" Authors: WangBaoshan (@ieisystem)ieisystem.inmanage.edit_media_instance (1.1.1) — module
Install with ansible-galaxy collection install ieisystem.inmanage:==1.1.1
collections: - name: ieisystem.inmanage version: 1.1.1
Set Virtual Media Instance on ieisystem Server.
- name: Media instance test hosts: inmanage connection: local gather_facts: no vars: inmanage: host: "{{ ansible_ssh_host }}" username: "{{ username }}" password: "{{ password }}" tasks: - name: "Set media instance" ieisystem.inmanage.edit_media_instance: num_fd: 1 num_cd: 1 num_hd: 1 kvm_num_fd: 1 kvm_num_cd: 1 kvm_num_hd: 1 sd_media: "Enable" secure_channel: "Enable" power_save_mode: "Enable" provider: "{{ inmanage }}"
host: description: - Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport. type: str num_cd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of CD/DVD devices that support for Virtual Media redirection. type: int num_fd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of floppy devices that support for Virtual Media redirection. type: int num_hd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of harddisk devices that support for Virtual Media redirection. type: int password: description: - Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_PASSWORD) will be used instead. type: str provider: description: - A dict object containing connection details. suboptions: host: description: - Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport. type: str password: description: - Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_PASSWORD) will be used instead. type: str username: description: - Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_USERNAME) will be used instead. type: str type: dict sd_media: choices: - Enable - Disable description: - Check this option to enable SD Media support in BMC. type: str username: description: - Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_USERNAME) will be used instead. type: str kvm_num_cd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of Remote KVM CD/DVD devices that support for virtual Media redirection. - The max support number of html5 KVM is 2 and java KVM is 4. type: int kvm_num_fd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of Remote KVM floppy devices that support for Virtual Media redirection. type: int kvm_num_hd: choices: - 0 - 1 - 2 - 3 - 4 description: - Select the number of Remote KVM Hard disk devices to support for Virtual Media redirection. type: int secure_channel: choices: - Enable - Disable description: - Check this option to enable encrypt media recirection packets. - Only the M5/M6 model supports this parameter. type: str power_save_mode: choices: - Enable - Disable description: - Check this option to enable Power Save Mode in BMC. type: str
changed: description: Check to see if a change was made on the device. returned: always type: bool message: description: Messages returned after module execution. returned: always type: str state: description: Status after module execution. returned: always type: str