ieisystem.inmanage.edit_ipv6 – Set ipv6 information¶
Note
This plugin is part of the ieisystem.inmanage collection.
To install it use: ansible-galaxy collection install ieisystem.inmanage
.
To use it in a playbook, specify: ieisystem.inmanage.edit_ipv6
.
New in version 1.0.0: of ieisystem.inmanage
Requirements¶
The below requirements are needed on the host that executes this module.
Python 3.7+
inManage
Parameters¶
Examples¶
- name: Ipv6 test
hosts: inmanage
connection: local
gather_facts: no
vars:
inmanage:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "Set ipv6 information"
ieisystem.inmanage.edit_ipv6:
interface_name: "eth0"
ipv6_status: "disable"
provider: "{{ inmanage }}"
- name: "Set ipv6 information"
ieisystem.inmanage.edit_ipv6:
interface_name: "eth0"
ipv6_status: "enable"
ipv6_dhcp_enable: "dhcp"
provider: "{{ inmanage }}"
- name: "Set ipv6 information"
ieisystem.inmanage.edit_ipv6:
interface_name: "eth0"
ipv6_status: "enable"
ipv6_dhcp_enable: "static"
ipv6_address: "::ffff:100:2:36:10"
ipv6_index: 12
ipv6_prefix: 16
ipv6_gateway: "::"
provider: "{{ inmanage }}"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
WangBaoshan (@ieisystem)