Remove support for Debian 9 and Ubuntu 16.04

This commit is contained in:
2020-07-14 09:45:33 +03:00
parent 539f081d4d
commit 72b8b193b5
15 changed files with 5 additions and 5109 deletions

View File

@ -1,7 +1,6 @@
---
# Hosts running Ubuntu 16.04+ and Debian 9+ use systemd init system and should
# use timedatectl as a network time client instead of the standalone ntp client.
# Earlier versions of those distros should use the ntp/ntpd package.
- name: Set timezone
when: timezone is defined and ansible_service_mgr == 'systemd'
@ -16,8 +15,4 @@
apt: name=ntp state=absent update_cache=yes
when: ansible_service_mgr == 'systemd'
- name: Install ntp on old Ubuntu/Debian
apt: name=ntp state=present update_cache=yes
when: ansible_service_mgr != 'systemd'
# vim: set ts=2 sw=2: