@ -31,6 +31,7 @@ $domain_netbios_name = Get-AnsibleParam -obj $params -name "domain_netbios_name"
$safe_mode_admin_password = Get-AnsibleParam -obj $params -name " safe_mode_password " -failifempty $true
$safe_mode_admin_password = Get-AnsibleParam -obj $params -name " safe_mode_password " -failifempty $true
$database_path = Get-AnsibleParam -obj $params -name " database_path " -type " path "
$database_path = Get-AnsibleParam -obj $params -name " database_path " -type " path "
$sysvol_path = Get-AnsibleParam -obj $params -name " sysvol_path " -type " path "
$sysvol_path = Get-AnsibleParam -obj $params -name " sysvol_path " -type " path "
$log_path = Get-AnsibleParam -obj $params -name " log_path " -type " path "
$create_dns_delegation = Get-AnsibleParam -obj $params -name " create_dns_delegation " -type " bool "
$create_dns_delegation = Get-AnsibleParam -obj $params -name " create_dns_delegation " -type " bool "
$domain_mode = Get-AnsibleParam -obj $params -name " domain_mode " -type " str "
$domain_mode = Get-AnsibleParam -obj $params -name " domain_mode " -type " str "
$forest_mode = Get-AnsibleParam -obj $params -name " forest_mode " -type " str "
$forest_mode = Get-AnsibleParam -obj $params -name " forest_mode " -type " str "
@ -103,6 +104,10 @@ if (-not $forest) {
$install_params . SysvolPath = $sysvol_path
$install_params . SysvolPath = $sysvol_path
}
}
if ( $log_path ) {
$install_params . LogPath = $log_path
}
if ( $domain_netbios_name ) {
if ( $domain_netbios_name ) {
$install_params . DomainNetBiosName = $domain_netbios_name
$install_params . DomainNetBiosName = $domain_netbios_name
}
}