Added building Ubuntu 20.04 template

This commit is contained in:
2024-09-22 20:13:32 +03:00
parent 36aa9106ea
commit 09aa511791
35 changed files with 629 additions and 123 deletions

View File

@ -0,0 +1,25 @@
---
- include_vars: os-pkg-list.yml
- name: Install of packages for Debian
block:
- name: Install from list of packages for Debian
apt:
state: latest
pkg: "{{ debian_install_pkg_list }}"
- name: Run "apt-get clean" for Debian
apt:
clean: yes
when: ansible_distribution == "Debian"
- name: Install of packages for Ubuntu
block:
- name: Install from list of packages for Ubuntu
apt:
state: latest
pkg: "{{ ubuntu_install_pkg_list }}"
- name: Run "apt-get clean" for Ubuntu
apt:
clean: yes
when: ansible_distribution == "Ubuntu"