initial commit

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-01-21 23:13:01 +01:00
commit 40a7e1dab7
19 changed files with 475 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
---
- name: Backup Ubuntu Pro banner configuration
command: mv /etc/apt/apt.conf.d/20apt-esm-hook.conf /etc/apt/apt.conf.d/20apt-esm-hook.conf.bak
args:
removes: /etc/apt/apt.conf.d/20apt-esm-hook.conf
- name: Create empty Ubuntu Pro banner configuration
file:
path: /etc/apt/apt.conf.d/20apt-esm-hook.conf
state: touch
- name: Update apt cache
apt:
update_cache: yes