l3d.resolvconf

Ansible Galaxy MIT License

ansible角色 resolvconf

用于管理/etc/resolv.conf文件的Ansible角色。

变量

变量 默认值 描述
resolvconf__mode: '0644' /etc/resolv.conf的文件模式
resolveconf__immutable: false 改为true以防止其他人修改/etc/resolv.conf
resolvconf__nameservers: [] 可选配置一个nameservers列表 (一些示例)
resolvconf__domain: 可选设置域名选项的值
resolvconf__search: [] 可选设置搜索域的列表
resolvconf__options: [] 可选设置额外的选项,如rotatetimeout:2
submodules_versioncheck: false 运行可选的简单版本检查 (推荐使用true

测试

该角色使用这些GitHub Action对不同版本的Linux系统进行了测试。通过travis-ci和ansible-lint操作进行了代码检查。 如果你想了解更多关于我们的测试,请查看GitHub市场。

测试状态 GitHub市场
Ansible Lint检查 ansible-lint操作
Yamllint GitHub Actions yamllint GitHub操作
Galaxy发布 发布Ansible角色到Galaxy
关于项目

Manage your /etc/resolv.conf file.

安装
ansible-galaxy install l3d.resolvconf
许可证
mit
下载
37k
拥有者
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy