summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base/tasks/main.yml
blob: 44110380921e6ba49e78905c72fe8a8f3b343153 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
- name: install global sources.list
  template:
    src: "{{ ansible_distribution }}.list.j2"
    dest: /etc/apt/sources.list
  notify: update apt cache

## aptitude is needed for package upgrade roles
- name: install aptitude and https transport
  apt:
    name:
      - aptitude
      - apt-transport-https
    state: present