deployment/ansible/roles/update/tasks/main.yml

15 lines
243 B
YAML

---
- name: Copy over sources.list
copy:
src: sources.list
dest: /etc/apt/sources.list
owner: root
group: root
mode: '644'
- name: Update system
apt:
update_cache: yes
install_recommends: yes
upgrade: dist