Class: Ansible::Ruby::Modules::Win_domain

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_domain.rb

Overview

Ensure that the domain named by C(dns_domain_name) exists and is reachable. If the domain is not reachable, the domain is created in a new forest on the target Windows Server 2012R2+ host. This module may require subsequent use of the M(win_reboot) action if changes are made.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#database_pathString?

Returns The path to a directory on a fixed disk of the Windows host where the domain database will be created.,If not set then the default path is C(%SYSTEMROOT%NTDS).

Returns:

  • (String, nil)

    The path to a directory on a fixed disk of the Windows host where the domain database will be created.,If not set then the default path is C(%SYSTEMROOT%NTDS).



25
# File 'lib/ansible/ruby/modules/generated/windows/win_domain.rb', line 25

attribute :database_path

#dns_domain_nameString

Returns The DNS name of the domain which should exist and be reachable or reside on the target Windows host.

Returns:

  • (String)

    The DNS name of the domain which should exist and be reachable or reside on the target Windows host.



14
# File 'lib/ansible/ruby/modules/generated/windows/win_domain.rb', line 14

attribute :dns_domain_name

#domain_netbios_nameObject?

Returns The netbios name of the domain.,If not set, then the default netbios name will be the first section of dns_domain_name, up to, but not including the first period.

Returns:

  • (Object, nil)

    The netbios name of the domain.,If not set, then the default netbios name will be the first section of dns_domain_name, up to, but not including the first period.



18
# File 'lib/ansible/ruby/modules/generated/windows/win_domain.rb', line 18

attribute :domain_netbios_name

#safe_mode_passwordString

Returns Safe mode password for the domain controller.

Returns:

  • (String)

    Safe mode password for the domain controller.



21
# File 'lib/ansible/ruby/modules/generated/windows/win_domain.rb', line 21

attribute :safe_mode_password

#sysvol_pathString?

Returns The path to a directory on a fixed disk of the Windows host where the Sysvol file will be created.,If not set then the default path is C(%SYSTEMROOT%SYSVOL).

Returns:

  • (String, nil)

    The path to a directory on a fixed disk of the Windows host where the Sysvol file will be created.,If not set then the default path is C(%SYSTEMROOT%SYSVOL).



29
# File 'lib/ansible/ruby/modules/generated/windows/win_domain.rb', line 29

attribute :sysvol_path