@ -103,6 +103,7 @@ $domain_admin_password= Get-AnsibleParam -obj $params -name "domain_admin_passwo
$local_admin_password = Get-AnsibleParam -obj $params -name " local_admin_password "
$local_admin_password = Get-AnsibleParam -obj $params -name " local_admin_password "
$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 "
$domain_log_path = Get-AnsibleParam -obj $params -name " domain_log_path " -type " path " # TODO: Use log_path and alias domain_log_path once the log_path for debug logging option has been removed.
$read_only = Get-AnsibleParam -obj $params -name " read_only " -type " bool " -default $false
$read_only = Get-AnsibleParam -obj $params -name " read_only " -type " bool " -default $false
$site_name = Get-AnsibleParam -obj $params -name " site_name " -type " str " -failifempty $read_only
$site_name = Get-AnsibleParam -obj $params -name " site_name " -type " str " -failifempty $read_only
$install_dns = Get-AnsibleParam -obj $params -name " install_dns " -type " bool "
$install_dns = Get-AnsibleParam -obj $params -name " install_dns " -type " bool "
@ -206,6 +207,9 @@ Try {
if ( $database_path ) {
if ( $database_path ) {
$install_params . DatabasePath = $database_path
$install_params . DatabasePath = $database_path
}
}
if ( $domain_log_path ) {
$install_params . LogPath = $domain_log_path
}
if ( $sysvol_path ) {
if ( $sysvol_path ) {
$install_params . SysvolPath = $sysvol_path
$install_params . SysvolPath = $sysvol_path
}
}