Initial commit: update&upgrade
This commit is contained in:
parent
30ace79d73
commit
91c90a36fa
|
@ -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
|
|
|
@ -1,6 +0,0 @@
|
||||||
- hosts: all
|
|
||||||
tasks:
|
|
||||||
- name: update a server
|
|
||||||
apt: update_cache=yes
|
|
||||||
- name: upgrade a server
|
|
||||||
apt: upgrade=dist
|
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user