Code Monkey home page Code Monkey logo

ansible-role-domain-controller's Introduction

Domain Controller

An Ansible role for setup Active Directory domain controllers.

Requirements

  • Supported version of Ansible: 2.12 and highter.
  • pywinrm is a python library for connection Ansible to Windows hosts via WinRM.
  • Supported platforms:
    • Windows
      • 2016
      • 2019

Role Variables

  • domain_controller_dns_domain_name The DNS name of the domain which should exist and be reachable or reside on the target Windows host (default: '').
  • domain_controller_domain_netbios_name The NetBIOS name for the root domain in the new forest (default: '').
  • domain_controller_safe_mode_password Safe mode password for the domain controller (default: '').
  • domain_controller_domain_mode Specifies the domain functional level of the first domain in the creation of a new forest (default: WinThreshold).
  • domain_controller_forest_mode Specifies the forest functional level for the new forest (default: WinThreshold).
  • domain_controller_dns_delegation Whether to create a DNS delegation that references the new DNS server that you install along with the domain controller (default: false).
  • domain_controller_install_dns Whether to install the DNS service when creating the domain controller (default: true).
  • domain_controller_database_path The path to a directory on a fixed disk of the Windows host where the domain database will be created (default: C:\Windows\NTDS).
  • domain_controller_log_path Specifies the fully qualified, non-UNC path to a directory on a fixed disk of the local computer where the log file for this operation is written (default: C:\Windows\NTDS).
  • domain_controller_sysvol_path The path to a directory on a fixed disk of the Windows host where the Sysvol file will be created (default: C:\Windows\SYSVOL).

Dependencies

None.

Example Playbook

---

- name: Add Domain Controllers
  hosts: domain_controllers

  roles:
    - role: antmelekhin.domain_controller
      domain_controller_dns_domain_name: 'contoso.com'
      domain_controller_safe_mode_password: 'P@ssw0rd!'

License

MIT

Author Information

Melekhin Anton.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.