qiyutech.linux.docker_ipv6 module – Linux Docker 启用 IPv6 地址

备注

This module is part of the qiyutech.linux collection (version 1.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install qiyutech.linux.

To use it in a playbook, specify: qiyutech.linux.docker_ipv6.

1.0.0 新版功能: of qiyutech.linux

Synopsis

  • Linux Docker 启用 IPv6 地址

  • 注意: 你的服务器必须已经有分配的 IPv6 地址才能使用

Parameters

Parameter

Comments

cidr

string / required

IPv6 cidr

例如: 2001:db8:1::/64

state

string

状态

Choices:

  • present ← (default)

  • absent

Notes

备注

  • 这个模块不支持 Windows 系统

  • 这个模块需要控制端 Python 3.6+

Examples

- name: Linux Docker 启用 IPv6
  qiyutech.linux.docker_ipv6:
    cidr: 2001:db8:1::/64
    state: present

Authors

  • dev