Debian Codegraph @

test/integration/targets/apt_repository/tasks/main.yml

raw
1 # test code for the apt_repository module
2 # (c) 2014, James Laska <[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: skip test on unsupported platforms
20 meta: end_play
21 when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('26.04', '>=')
22
23 - import_tasks: 'apt.yml'
24 when: ansible_distribution in ('Ubuntu')
25
26 - import_tasks: mode.yaml
27 when: ansible_distribution in ('Ubuntu')
28 tags:
29 - test_apt_repository_mode