Debian Codegraph @

ansible_collections/community/windows/tests/integration/targets/win_netbios/tasks/main.yml

raw
1 # Test code for win_netbios module
2 # Copyright: (c) 2019, Thomas Moore <[email protected]>
3
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
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: ensure netbios is set to default to start with
20 win_netbios:
21 state: default
22
23 - block:
24 - name: run tests
25 include_tasks: tests.yml
26
27 always:
28 - name: set netbios back to default after tests
29 win_netbios:
30 state: default