blob: 7abd5800327d774c0d5663d8a75142a8794e681f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
- name: install global sources.list
template:
src: "{{ ansible_distribution }}.list.j2"
dest: /etc/apt/sources.list
register: apt_repo_base_sources
- name: update apt cache
when: apt_repo_base_sources is changed
command: apt-get update
args:
warn: false
## aptitude is needed for package upgrade roles
- name: install aptitude and https transport
apt:
name:
- aptitude
- apt-transport-https
state: present
|