Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/snap/tasks/test_3dash.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 - name: Make sure packages are not installed (3 dashes)
7 community.general.snap:
8 name:
9 - bw
10 - shellcheck
11 state: absent
12
13 - name: Install package with 3 dashes in description (check)
14 community.general.snap:
15 name:
16 - bw
17 - shellcheck
18 state: present
19 check_mode: true
20 register: install_3dash_check
21
22 - name: Remove packages (3 dashes)
23 community.general.snap:
24 name:
25 - bw
26 - shellcheck
27 state: absent
28
29 - assert:
30 that:
31 - install_3dash_check is changed