refactor(lint,fqdn-names): Full FQDN names for modules

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
Tuan-Dat Tran
2025-01-22 00:06:35 +01:00
parent 87fb4fa5da
commit 71532a6d25
15 changed files with 107 additions and 85 deletions

View File

@@ -1,14 +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
ansible.builtin.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:
ansible.builtin.file:
path: /etc/apt/apt.conf.d/20apt-esm-hook.conf
state: touch
- name: Update apt cache
apt:
ansible.builtin.apt:
update_cache: yes