Debian Codegraph @

ansible_collections/community/windows/tests/integration/targets/win_shortcut/tasks/clean.yml

raw
1 # Test code for the file module.
2 # (c) 2017, Dag Wieers <[email protected]>
3
4 # This file is part of Ansible
5 #
6 # Ansible is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # Ansible is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with Ansible. If not, see <http://www.gnu.org/licenses/>.
18
19 - name: Clean up Ansible website link
20 ansible.windows.win_file:
21 path: '%UserProfile%\Desktop\Ansible website.url'
22 state: absent
23
24 - name: Clean up Registry Editor shortcut
25 ansible.windows.win_file:
26 path: '%Public%\Desktop\Registry Editor.lnk'
27 state: absent
28
29 - name: Clean up Shell path shortcut
30 ansible.windows.win_file:
31 path: '%Public%\bin.lnk'
32 state: absent
33
34 - name: Clean up Executable shortcut
35 ansible.windows.win_file:
36 path: '%Public%\Desktop\cmd.lnk'
37 state: absent