Path: blob/devel/test/integration/targets/apt/tasks/main.yml
4751 views
# (c) 2014, James Tanner <[email protected]>12# This file is part of Ansible3#4# Ansible is free software: you can redistribute it and/or modify5# it under the terms of the GNU General Public License as published by6# the Free Software Foundation, either version 3 of the License, or7# (at your option) any later version.8#9# Ansible is distributed in the hope that it will be useful,10# but WITHOUT ANY WARRANTY; without even the implied warranty of11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12# GNU General Public License for more details.13#14# You should have received a copy of the GNU General Public License15# along with Ansible. If not, see <http://www.gnu.org/licenses/>.1617- block:18- include: 'apt.yml'1920- include: 'url-with-deps.yml'2122- include: 'apt-multiarch.yml'23when:24- ansible_userspace_architecture != apt_foreign_arch2526- include: 'apt-builddep.yml'2728- block:29- include: 'repo.yml'30always:31- file:32path: /etc/apt/sources.list.d/file_tmp_repo.list33state: absent34- file:35name: "{{ repodir }}"36state: absent3738when:39- ansible_distribution in ('Ubuntu', 'Debian')404142