Added this repo

This commit is contained in:
2024-09-19 13:29:35 +03:00
commit 5ae5fe2586
47 changed files with 1265 additions and 0 deletions

View File

@ -0,0 +1,22 @@
---
- hosts: "{{ hosts_target }}"
become: false
gather_facts: true
vars_files:
- /root/.secret/.ansible/vars_creds.yml
tasks:
- name: Upgrage system type of Debian
block:
- name: Run "apt update" and "apt upgrade"
ansible.builtin.apt:
upgrade: yes
update_cache: yes
- name: Run "apt autoremove"
ansible.builtin.apt:
autoremove: yes
- name: Run "apt-get clean"
ansible.builtin.apt:
clean: yes
when: ansible_facts['distribution'] == "Debian"