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 }}"
|
||||
|
@ -86,22 +86,3 @@
|
||||
tags:
|
||||
- systctl-config
|
||||
|
||||
#- name: (basic.yml) Check file '/etc/systemd/system.conf' exists
|
||||
# stat:
|
||||
# path: /etc/systemd/system
|
||||
# register: etc_systemd_system_conf
|
||||
# when:
|
||||
# - set_default_limit_nofile|bool == true
|
||||
#
|
||||
#- name: (basic.yml) Change DefaultLimitNOFILE to 1048576
|
||||
# lineinfile:
|
||||
# dest: /etc/systemd/system.conf
|
||||
# state: present
|
||||
# regexp: '^DefaultLimitNOFILE'
|
||||
# line: 'DefaultLimitNOFILE=1048576'
|
||||
# insertafter: '^#DefaultLimitNOFILE'
|
||||
# when:
|
||||
# - set_default_limit_nofile|bool == true
|
||||
# - etc_systemd_system_conf.stat.exists == true
|
||||
# tags:
|
||||
# - systemd-nofiles
|
||||
|
Reference in New Issue
Block a user