yavdr-ansible/roles/yavdr-common/tasks/configure_apt.yml

20 lines
412 B
YAML
Raw Permalink Normal View History

---
- name: apt | prevent automatic installation of recommended packages
template:
src: templates/90-norecommends.j2
dest: /etc/apt/apt.conf.d/90norecommends
- name: add PPAs
apt_repository:
repo: '{{ item }}'
state: present
update_cache: yes
with_items: '{{ repositories }}'
2017-12-28 17:28:43 +01:00
tags:
- ppa
- name: run apt-get dist-upgrade
apt:
upgrade: dist
update_cache: yes