1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-26 14:13:53 +01:00
eoli3n-dotfiles/roles/buster_upgrade/tasks/main.yml
2019-12-02 14:31:23 +01:00

24 lines
514 B
YAML

---
- name: Gather facts
gather_facts:
- name: Upgrade to Debian 10
block:
- name: Install https source support
apt:
name:
- apt-transport-https
- ca-certificates
- name: Define apt sources to buster
copy:
src: sources.list
dest: /etc/apt/
- name: Apt update and upgrade
apt:
update_cache: yes
upgrade: yes
- name: Apt dist upgrade
apt:
upgrade: dist
when: ansible_distribution_release == 'stretch'