Minor comment updates for Debian 12

This commit is contained in:
Alan Orth 2023-08-09 21:51:53 +02:00
parent 4fa82faf18
commit bca1629d2f
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Ansible playbook for base and initial configuration of the web server hosting my
## Assumptions
Before you can run this, a few things are assumed:
- You have a clean, minimal Ubuntu 20.04 or Debian 11 host up and running
- You have a clean, minimal Ubuntu 20.04 or Debian 11/12 host up and running
- Python 3 is installed on the remote server (requirement of Ansible)
- You have a user account with password-less SSH access to the machine
- You have sudo privileges on the remote host

View File

@ -1,5 +1,5 @@
---
# Debian 11 will use nftables directly, with no firewalld.
# Debian 11+ will use nftables directly, with no firewalld.
- block:
- name: Install Debian firewall packages

View File

@ -13,7 +13,7 @@
# Ubuntu 20.04 and Debian 11.
- name: Install systemd-timesyncd
when: (ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '==')) or
(ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '=='))
(ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '>='))
ansible.builtin.apt: name=systemd-timesyncd state=present cache_valid_time=3600
- name: Start and enable systemd's NTP client