mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
401 B
YAML
20 lines
401 B
YAML
8 years ago
|
- 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
|