<h1>ansible-linux-join-domain</h1>
This is an ansible role to automaticaly join Linux Machine CentOS and Redhat using sssd, realm, samba and winbind. This role is tested on RedHat/CentOS 7.x, 8.x 6.6 and Ubuntu 20 18 16 and Debian 10 9
# Requirements
- source.list configured and updated for debian servers
- Ansible >= 2.7
# Installation
ansible-galaxy install mahdi22.linux_joindomain
# Role Configuration
file: defaults/main.yml
```yaml
#set this variable to True if the managed hosts are bihind a web proxy... default False
use_proxy: False
```
```yaml
proxy_env: []
#Set environmenet variable for web proxy sexample:
# proxy_env:
# http_proxy: http://proxy.local:8080/
# https_proxy: http://proxy.local:8080/
```
# Role Variables
file: vars/main.yml
```yaml
Join_User: ADMDOMAIN # Replace ADMDOMAIN with the username domain admin
DomainName: linuxlab.local # Replace linuxlab.local with the domainname
Join_User_Pass: admdomainpassword # Replace admdomainpassword with the username domain admin password
realm: LINUXLAB.LOCAL # replace this value with by Domaine Name
server: linuxlab.local # replace this value with by active directory server
```
file: vars/RedHat-6.yml
```yaml
workgroup: LAB # replace this value with by WORKGROUP
kdc:
- kerberos-1.linuxlab.local:88 # replace this value with by firt Kerberos server name
- kerberos-2.linuxlab.local:88 # replace this value with by second Kerberos server name
- kerberos-3.linuxlab.local:88 # replace this value with by third Kerberos server name
domain_realms:
- .linuxlab.local # replace this value with by domaine name
- linuxlab.local # replace this value with by domaine name
```
# Example Playbook
```yaml
- hosts: servers
roles:
- role: mahdi22.linux_joindomain
become: yes
```

PeterLee龍羿學長
- 粉丝: 47
最新资源
- 计算机信息技术在档案管理中的应用之我见(1).docx
- 互联网背景下高职会计实验室建设研究(1).docx
- 会计实务:教你如何妙用Excel做财务分析(1)(1).doc
- 计算机电子控制技术及其运用的相关探讨(1).docx
- 软件公司库房管理规定(含单据)-软件及硬件进出库制度(1).doc
- 互联网+大数据背景下绩效评价优化路径与对策(1).docx
- 关于机电自动化在现代工程机械制造中的应用研究(1).docx
- 图书管理系统开题报告(1).doc
- 1.Python语法基础08240市公开课特等奖市赛课微课一等奖(1).pptx
- 探析慕课助力高校计算机课程教学模式的革新研究(1).docx
- STM32GPIO相关寄存器(1).doc
- 互联网+小学语文的智慧课堂模式探索(1).docx
- 互联网平台大数据模式下新闻传播发展研究(1).docx
- 2023年年月计算机等级考试二级VFP笔试试题及答案(1).docx
- 计算机入门基础操作入门讲课文档(1).ppt
- 联想软件测试理论与实践-毕业论文(1).doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



评论0