update..
This commit is contained in:
@ -177,10 +177,31 @@
|
||||
apt:
|
||||
name: "{{ apt_lxc_host_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when: apt_install_lxc_host_pkgs|bool
|
||||
when:
|
||||
- groups['lxc_host']|string is search(inventory_hostname)
|
||||
tags:
|
||||
- apt-lxc-hosts-pkgs
|
||||
|
||||
- name: (apt.yml) Install kvm_host related packages
|
||||
apt:
|
||||
name: "{{ apt_kvm_host_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when:
|
||||
- groups['kvm_host']|string is search(inventory_hostname)
|
||||
tags:
|
||||
- apt-kvm-hosts-pkgs
|
||||
|
||||
- name: (apt.yml) Install kvm_host related packages only debian 10 (buster)
|
||||
apt:
|
||||
name: "{{ apt_kvm_host_buster_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when:
|
||||
- groups['kvm_host']|string is search(inventory_hostname)
|
||||
- ansible_facts['distribution'] == "Debian"
|
||||
- ansible_facts['distribution_major_version'] == "10"
|
||||
tags:
|
||||
- apt-kvm-hosts-pkgs
|
||||
|
||||
- name: (apt.yml) Install compiler related packages
|
||||
apt:
|
||||
name: "{{ apt_compiler_pkgs }}"
|
||||
|
Reference in New Issue
Block a user