diff options
author | Jordan Borean <jborean93@gmail.com> | 2018-09-11 00:23:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-11 00:23:46 +0200 |
commit | c9c141fb6a51d6b77274958a2340fa54754db692 (patch) | |
tree | 6a6ba331f34d39968fdd2976ea0da98c23b226c9 /test/integration/targets/win_say/tasks | |
parent | reordered windows test groups for better efficiency (#45445) (diff) | |
download | ansible-c9c141fb6a51d6b77274958a2340fa54754db692.tar.xz ansible-c9c141fb6a51d6b77274958a2340fa54754db692.zip |
win_say - fix up syntax and test issues (#45450)
Diffstat (limited to 'test/integration/targets/win_say/tasks')
-rw-r--r-- | test/integration/targets/win_say/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/targets/win_say/tasks/main.yml b/test/integration/targets/win_say/tasks/main.yml index 60448723a8..2355839b4a 100644 --- a/test/integration/targets/win_say/tasks/main.yml +++ b/test/integration/targets/win_say/tasks/main.yml @@ -1,18 +1,24 @@ +# CI hosts don't have a valid Speech package so we rely on check mode for basic +# sanity tests +--- - name: Warn of impending deployment win_say: msg: Warning, deployment commencing in 5 minutes, please log out. + check_mode: yes - name: Using a different voice and a start sound win_say: msg: Warning, deployment commencing in 5 minutes, please log out. start_sound_path: C:\Windows\Media\ding.wav voice: Microsoft Hazel Desktop + check_mode: yes - name: Example with start and end sound win_say: msg: New software installed start_sound_path: C:\Windows\Media\Windows Balloon.wav end_sound_path: C:\Windows\Media\chimes.wav + check_mode: yes - name: Create message file win_copy: @@ -24,6 +30,7 @@ msg_file: C:\Windows\Temp\win_say_message.txt start_sound_path: C:\Windows\Media\Windows Balloon.wav end_sound_path: C:\Windows\Media\chimes.wav + check_mode: yes - name: Remove message file win_file: @@ -34,3 +41,4 @@ win_say: speech_speed: 5 msg: Stay calm and proceed to the closest fire exit. + check_mode: yes |