You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.1 KiB

- name: upgrade to Debian GNU/Linux buster
hosts: all
become: true
- name: Set Debian GNU/Linux buster repositories
dest: /etc/apt/sources.list
content: |
deb buster main
deb stretch main
deb-src buster main
deb buster/updates main
deb stretch/updates main
deb-src buster/updates main
deb buster-backports main
deb-src buster-backports main
when: '"debian" == ansible_user'
- name: Debian/Ubuntu | Installing repository key
apt_key: url=
- name: Run the equivalent of "apt-get update"
update_cache: yes
- name: Update all packages to the latest version
upgrade: dist