yavdr-ansible/roles/yavdr-common/tasks/configure_apt.yml
2017-12-28 17:28:43 +01:00

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