Initial commit: update&upgrade

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

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