1c9a570ffe
* win_timezone: Add diff support, integration tests This PR includes: - Diff support - Returns both previous_timezone and timezone - Adds integration tests - More examples - Improved documentation * Merged the changes from jborean93's PR
19 lines
401 B
YAML
19 lines
401 B
YAML
- name: Determine if server has tzutil.exe installed
|
|
win_command: tzutil.exe /l
|
|
register: tzutil
|
|
ignore_errors: yes
|
|
|
|
- name: Only run tests if tzutil.exe is installed
|
|
when: tzutil.rc == 0
|
|
block:
|
|
|
|
- name: Test in normal mode
|
|
include: tests.yml
|
|
vars:
|
|
in_check_mode: no
|
|
|
|
- name: Test in check-mode
|
|
include: tests.yml
|
|
vars:
|
|
in_check_mode: yes
|
|
check_mode: yes
|