Initial commit: update&upgrade

This commit is contained in:
Ataxya 2021-10-11 21:31:15 +02:00
parent 30ace79d73
commit 91c90a36fa
3 changed files with 0 additions and 24 deletions

View File

@ -1,5 +0,0 @@
deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb http://deb.debian.org/debian bullseye-proposed-updates main contrib non-free
deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free

View File

@ -1,6 +0,0 @@
- hosts: all
tasks:
- name: update a server
apt: update_cache=yes
- name: upgrade a server
apt: upgrade=dist

View File

@ -1,13 +0,0 @@
---
- hosts: all
tasks:
- name: Change /etc/apt/sources.list
template:
src: /home/ansible/ansible/files/list-bullseye.j2
dest: /etc/apt/sources.list
- name: Updating apt cache
apt: update_cache=yes
- name: Lauch upgrade
apt: upgrade=dist