summaryrefslogtreecommitdiff
path: root/test/integration/targets/win_toast/tasks/setup.yml
diff options
context:
space:
mode:
authorAnsible Core Team <info@ansible.com>2020-03-09 09:40:31 +0000
committerAnsible Core Team <info@ansible.com>2020-03-09 09:40:31 +0000
commitca0090b43c1a9c9055da113377e12b4044f83da4 (patch)
tree97aeae3b636084a601991495f73bc2edd80189db /test/integration/targets/win_toast/tasks/setup.yml
parent152ce46a23f2b5680474a6108509d5445ab5ef70 (diff)
downloadansible-ca0090b43c1a9c9055da113377e12b4044f83da4.tar.gz
Migrated to community.windows
Diffstat (limited to 'test/integration/targets/win_toast/tasks/setup.yml')
-rw-r--r--test/integration/targets/win_toast/tasks/setup.yml27
1 files changed, 0 insertions, 27 deletions
diff --git a/test/integration/targets/win_toast/tasks/setup.yml b/test/integration/targets/win_toast/tasks/setup.yml
deleted file mode 100644
index 1fe3a22da1..0000000000
--- a/test/integration/targets/win_toast/tasks/setup.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-- name: Get OS version
- win_shell: '[Environment]::OSVersion.Version.Major'
- register: os_version
-
-- name: Get logged in user count (using explorer exe as a proxy)
- win_shell: (get-process -name explorer -EA silentlyContinue).Count
- register: user_count
-
-- name: debug os_version
- debug:
- var: os_version
- verbosity: 2
-
-- name: debug user_count
- debug:
- var: user_count
- verbosity: 2
-
-- name: Set fact if toast cannot be made
- set_fact:
- can_toast: False
- when: os_version.stdout|int < 10
-
-- name: Set fact if toast can be made
- set_fact:
- can_toast: True
- when: os_version.stdout|int >= 10