yabhinav.ansible-role-ipaclient
Ansible 角色:IPA 客户端
========================
安装 IPA 客户端服务并配置/重新配置客户端。
要求
需要一个可访问的 IPA 服务器进行配置。默认使用 Redhat 提供的 FreeIPA 服务器 这里。
角色变量
强制变量和默认值如下:
ipaserver_realm: "DEMO1.FREEIPA.ORG"
ipaserver_domain: "demo1.freeipa.org"
ipaserver_admin_username : * * * * * * * * * * *
ipaserver_admin_password : * * * * * * * * * * *
可选变量和默认值如下:
ipaclient_reconfigure : False
ipaclient_configure_ssh: True
ipaclient_configure_sshd: True
ipaclient_mkhomedir: True
ipaclient_ssh_trust_dns: False
ipaclient_setup_ntp: False #ansible-role-common 将设置 NTP
依赖关系
- [yabhinav.common](https://galaxy.ansible.com/yabhinav/common/)
示例剧本
- hosts: localhost
become_user: True
gather_facts: True
roles:
- yabhinav.ipaserver
问题
- 不建议在本地 Ubuntu16.04 的 python-virtualenv 上运行此角色,原因请参见 这个问题。有关其他 ipaclient-installer 脚本问题,请查看相同的 问题这里 和 这里。
- Freeipa-admintools 仅在 Ubuntu16.04 可用,因此此角色不支持 Debian 7、8 和 Ubuntu 12.04、14.04。
- rpcbind 安装挂起,在
CentOS7
镜像上安装 ipa-client 时,rpcbind 安装使得 ansible 剧本和 docker exec 命令均挂起,因此将其直接添加到镜像中作为必要包。
许可证
MIT
作者信息
由 Abhinav Yalamanchili 创建。
关于项目
Install a clean IPA cleint or reconfigure it for RHEL/CentOS/Fedora and Debian/Ubuntu.
安装
ansible-galaxy install yabhinav.ansible-role-ipaclient
许可证
Unknown
下载
96
拥有者
BigData Engineer with a bit of dabbling in python, ansible, pyspark, aws and java