summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base/tasks/main.yml
blob: a58a9c5b2c95eda2761abc670557830db7d7d224 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
- 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
  apt:
    name:
      - aptitude
    state: present