juju4.ipv6
IPv6 ansible 角色
一个简单的 ansible 角色,用于强化或禁用 Linux 和 Windows 系统中的 IPv6。
需求与依赖
Ansible
在以下版本上进行了测试:
- 1.9
- 2.0
- 2.2
- 2.6
- 2.7
- 2.8
- 2.10
操作系统
与 Travis(Ubuntu LTS、CentOS...)和 Appveyor(Windows)进行了测试。
示例剧本
只需将此角色包含在列表中。例如:
- hosts: all
roles:
- juju4.ipv6
变量
目前没有特定的变量。
持续集成
此角色具有基本的 Travis 测试(针对 GitHub),并且有更高级的 Kitchen 测试以及一个 Vagrantfile(test/vagrant)。
确保所有必要的角色均已存在后,您可以使用以下命令进行测试:
$ cd /path/to/roles/juju4.ipv6
$ kitchen verify
$ kitchen login
或者
$ cd /path/to/roles/juju4.ipv6/test/vagrant
$ vagrant up
$ vagrant ssh
故障排除与已知问题
参考文献
- https://linux-audit.com/linux-security-guide-for-hardening-ipv6/
- https://www.ernw.de/download/ERNW_Guide_to_Configure_Securely_Windows_Servers_For_IPv6_v1_0.pdf
许可
BSD 2-clause