cfawcett82.linux_join_domain_role_survey

linux-join-domain-role-survey

This is a role created to connect an EL 7.x or 8.x server to a Windows Active Directory (AD) domain.

Requirements

This role was designed for use with an AWX/Tower survey and is meant for a single server or a small group of servers.

Role Variables

There are several combinations of these variables used in the main task. Please review them before using.

Defaults: These values are set to prevent accidental runs from succeeding.

input_host: none  
ad_server_user: user.last@domain.local  
ad_server_pass: 5up3rdup3r53cr3t  
ad_server_domain: domain.local  
ad_server_ldapuri: SHORTNAME_OF_SERVER  
ad_server_ip: IPADDRESS_OF_SERVER  
realm_permit_group: AD_GROUP_NAME  

vars: this is a list of necessary packages for the domain join process to work

required_pkgs:  
  - realmd  
  - sssd  
  - oddjob  
  - oddjob-mkhomedir  
  - adcli  
  - samba-common  
  - samba-common-tools  
  - ntpdate  
  - ntp  

Dependencies

None

Example Playbook

- hosts: "{{ input_host }}"  
  become: yes  
    
  roles:  
    - linux-join-domain-role-survey  

License

BSD

Author Information

Cody Fawcett
cody@bncdiagnostics.com
https://github.com/cfawcett82

Informazioni sul progetto

Role for joining EL7.x and 8.x to Windows AD using realm join

Installa
ansible-galaxy install cfawcett82.linux_join_domain_role_survey
Licenza
Unknown
Download
125
Proprietario
Systems Engineer, Ansible Engineer, and oh so many other things.