Skip to content

This is a project Ansible created to automatically join domain Active Directory with Linux.

Notifications You must be signed in to change notification settings

BenjaminWjz/ansible_join_domain_linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Ansible Project

Ansible project to automatically join domain Active Directory using sssd for RedHat and Debian family OS.

Requirements

  • Ansible >= 2.7

Steps

  • Master step

If you want, there are details of the steps :

  • Update systems
  • Rename hostname (optional)
  • Install required packages
  • Join system to the domain

How to run a playbook

1. Modify inventory file :

Exemple :

[rocky]
192.168.1.1 ansible_ssh_user=rocky new_hostname=ROCKY001 

2. Navigate to the project root

3. Run a playbook

Exemple to run the first task :

user@rocky:~$ ansible-playbook tasks/1-update.yml tests/inventory

Testing

This project has been tested on these Linux distributions :

  • Rocky Linux 8 / CentOS 8 / RHEL 8
  • Debian 10
  • Ubuntu 18.04

About

This is a project Ansible created to automatically join domain Active Directory with Linux.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published