diff options
author | Shachaf92 <shachaf.gold@gmail.com> | 2020-03-02 00:02:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 08:02:38 +1000 |
commit | 2e38f80f9e5d6b46c5648e19bcb18b69dbc64762 (patch) | |
tree | 3d839143fb8f8f5f85e8385807756d64769f734b /test/integration | |
parent | 64a28641586e384f1c35d5f573735f3e5045db20 (diff) | |
download | ansible-2e38f80f9e5d6b46c5648e19bcb18b69dbc64762.tar.gz |
win_timezone - Allow for _dstoff timezones (#67892)
* win_timezone - Allow for _dstoff timezones
* Update win_timezone-Allow-dstoff.yml
* Added doc entry for new format
Co-authored-by: Jordan Borean <jborean93@gmail.com>
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/targets/win_timezone/tasks/tests.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/targets/win_timezone/tasks/tests.yml b/test/integration/targets/win_timezone/tasks/tests.yml index 320edc4e49..da5109f7f5 100644 --- a/test/integration/targets/win_timezone/tasks/tests.yml +++ b/test/integration/targets/win_timezone/tasks/tests.yml @@ -73,6 +73,17 @@ - central.timezone == 'Central Standard Time' when: in_check_mode +- name: Change timezone to dstoff + win_timezone: + timezone: Eastern Standard Time_dstoff + register: dstoff_result + +- name: Test dstoff timezone + assert: + that: + - dstoff_result is changed + - dstoff_result.timezone == 'Eastern Standard Time_dstoff' + - name: Change timezone to GMT+666 win_timezone: timezone: Dag's Standard Time |