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

20 lines
411 B
YAML

---
- 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: no
with_items: '{{ repositories }}'
tags:
- ppa
- name: run apt-get dist-upgrade
apt:
upgrade: dist
update_cache: yes