diff options
author | Jordan Borean <jborean93@gmail.com> | 2020-02-05 10:46:47 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 10:46:47 +1000 |
commit | 12e3adb23a793844baaf4d91b798a1b418c75179 (patch) | |
tree | f2ebac5d5c06d8338062206ddcd9bc655760e1ee /lib/ansible/modules/windows/win_domain_controller.py | |
parent | 78470c43c21d834a9513fb309fb219b74a5d1cee (diff) | |
download | ansible-12e3adb23a793844baaf4d91b798a1b418c75179.tar.gz |
win_domain_controller - add a deprecation warning for the log_path option (#67108)
Diffstat (limited to 'lib/ansible/modules/windows/win_domain_controller.py')
-rw-r--r-- | lib/ansible/modules/windows/win_domain_controller.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/ansible/modules/windows/win_domain_controller.py b/lib/ansible/modules/windows/win_domain_controller.py index 0deaf1135e..9bc4f2d11e 100644 --- a/lib/ansible/modules/windows/win_domain_controller.py +++ b/lib/ansible/modules/windows/win_domain_controller.py @@ -77,6 +77,12 @@ options: see U(https://docs.microsoft.com/en-us/powershell/module/addsdeployment/install-addsdomaincontroller). type: bool version_added: '2.10' + log_path: + description: + - The path to log any debug information when running the module. + - This option is deprecated and should not be used, it will be removed in Ansible 2.14. + - This does not relate to the C(-LogPath) paramter of the install controller cmdlet. + type: str seealso: - module: win_domain - module: win_domain_computer @@ -103,7 +109,6 @@ EXAMPLES = r''' domain_admin_password: password123! safe_mode_password: password123! state: domain_controller - log_path: C:\ansible_win_domain_controller.txt # ensure a server is not a domain controller # note that without an action wrapper, in the case where a DC is demoted, @@ -116,7 +121,6 @@ EXAMPLES = r''' domain_admin_password: password123! local_admin_password: password123! state: member_server - log_path: C:\ansible_win_domain_controller.txt - name: Promote server as a read only domain controller win_domain_controller: |