First commit
This commit is contained in:
16
hypervisors/roles/prerequisites/tasks/main.yml
Normal file
16
hypervisors/roles/prerequisites/tasks/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: "Check if the distribution is Debian"
|
||||
assert:
|
||||
msg: "Proxmox VE 6 can only be installed properly on Debian Buster. You distribution: {{ ansible_os_family }}"
|
||||
that:
|
||||
- ansible_os_family == 'Debian'
|
||||
|
||||
- name: "Check if the version is Buster"
|
||||
assert:
|
||||
msg: "Proxmox VE 6 can only be installed properly on Debian Buster. Your version: {{ ansible_distribution_release }}"
|
||||
that:
|
||||
- ansible_distribution_release == 'buster'
|
||||
|
||||
- name: "Install Aptitude"
|
||||
apt:
|
||||
name: aptitude
|
||||
state: present
|
Reference in New Issue
Block a user