update..
This commit is contained in:
@@ -286,11 +286,25 @@
|
||||
tags:
|
||||
- apt-postgresql-server-pkgs
|
||||
|
||||
- name: (apt.yml) Install webserver related packages
|
||||
- name: (apt.yml) Install webserver related packages (Debian <= 12)
|
||||
apt:
|
||||
name: "{{ apt_webserver_pkgs }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when: install_webserver_pkgs|bool
|
||||
when:
|
||||
- install_webserver_pkgs|bool
|
||||
- ansible_facts['os_family'] == 'Debian'
|
||||
- ansible_facts['distribution_major_version'] | int <= 12
|
||||
tags:
|
||||
- apt-webserver-pkgs
|
||||
|
||||
- name: (apt.yml) Install webserver related packages (Debian >= 13)
|
||||
apt:
|
||||
name: "{{ apt_webserver_pkgs_trixie }}"
|
||||
state: "{{ apt_install_state }}"
|
||||
when:
|
||||
- install_webserver_pkgs|bool
|
||||
- ansible_facts['os_family'] == 'Debian'
|
||||
- ansible_facts['distribution_major_version'] | int >= 13
|
||||
tags:
|
||||
- apt-webserver-pkgs
|
||||
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Ensure util-linux-extra is installed on Debian
|
||||
ansible.builtin.apt:
|
||||
name: util-linux-extra
|
||||
state: present
|
||||
update_cache: yes
|
||||
when:
|
||||
- ansible_facts['os_family'] == 'Debian'
|
||||
- ansible_facts['distribution_major_version'] | int >= 11
|
||||
|
||||
- name: (basic.yml) Ensure timezone is is correct
|
||||
timezone: name={{ time_zone }}
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user