update..
This commit is contained in:
@ -113,6 +113,16 @@
|
||||
tags:
|
||||
- apt-initial-install
|
||||
|
||||
- name: (apt.yml) Initial install ubuntu packages (jammy)
|
||||
apt:
|
||||
name: "{{ apt_initial_install_jammy }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
- ansible_facts['distribution_release'] == "jammy"
|
||||
tags:
|
||||
- apt-initial-install
|
||||
|
||||
|
||||
# ---
|
||||
# Microcode
|
||||
@ -173,6 +183,20 @@
|
||||
- apt-initial-install
|
||||
- apt-microcode
|
||||
|
||||
|
||||
- name: (apt.yml) Install CPU microcode (ubuntu jammy)
|
||||
apt:
|
||||
name: "{{ microcode_package }}"
|
||||
state: present
|
||||
default_release: "{{ ansible_distribution_release }}"
|
||||
when:
|
||||
- ansible_facts['distribution'] == "Ubuntu"
|
||||
- ansible_facts['distribution_release'] == "jammy"
|
||||
- ansible_facts['processor']|string is search("Intel")
|
||||
tags:
|
||||
- apt-initial-install
|
||||
- apt-microcode
|
||||
|
||||
- name: (apt.yml) Install lxc_host related packages
|
||||
apt:
|
||||
name: "{{ apt_lxc_host_pkgs }}"
|
||||
@ -206,7 +230,7 @@
|
||||
apt:
|
||||
name: "{{ apt_compiler_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when: apt_install_compiler_pkgs|bool
|
||||
when: install_compiler_pkgs|bool
|
||||
tags:
|
||||
- apt-compiler-pkgs
|
||||
|
||||
@ -214,7 +238,7 @@
|
||||
apt:
|
||||
name: "{{ apt_postgresql_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when: apt_install_postgresql_pkgs|bool
|
||||
when: install_postgresql_pkgs|bool
|
||||
tags:
|
||||
- apt-postgresql-server-pkgs
|
||||
|
||||
@ -222,7 +246,7 @@
|
||||
apt:
|
||||
name: "{{ apt_webserver_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when: apt_install_webserver_pkgs|bool
|
||||
when: install_webserver_pkgs|bool
|
||||
tags:
|
||||
- apt-webserver-pkgs
|
||||
|
||||
|
@ -51,3 +51,31 @@
|
||||
- groups['lxc_host']|string is search(inventory_hostname)
|
||||
tags:
|
||||
- yum-lxc-hosts-pkgs
|
||||
|
||||
|
||||
- name: (yum.yml) Install postgresql server related packages
|
||||
yum:
|
||||
name: "{{ yum_postgresql_pkgs }}"
|
||||
state: "{{ yum_install_state }}"
|
||||
when:
|
||||
- install_postgresql_pkgs|bool
|
||||
tags:
|
||||
- apt-postgresql-server-pkgs
|
||||
|
||||
|
||||
- name: (yum.yml) Install compile related packages
|
||||
yum:
|
||||
name: "{{ yum_compiler_pkgs }}"
|
||||
state: "{{ yum_install_state }}"
|
||||
when:
|
||||
- install_compiler_pkgs|bool
|
||||
tags:
|
||||
- yum-compiler-pkgs
|
||||
|
||||
- name: (yum.yml) Install webserver related packages
|
||||
yum:
|
||||
name: "{{ yum_webserver_pkgs }}"
|
||||
state: "{{ yum_install_state }}"
|
||||
when: install_webserver_pkgs|bool
|
||||
tags:
|
||||
- yum-webserver-pkgs
|
||||
|
Reference in New Issue
Block a user