From e91860c35750879078d4e219bf57c329436edbbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Sat, 12 Oct 2019 17:11:41 +0200 Subject: [PATCH] Do not install ntp package on host when not used This could badly affect containerized chrony on Debian family distros. Change-Id: I3c57c0fe254b6166db55fa33358be646a4a23192 Closes-bug: #1847863 --- ansible/roles/baremetal/defaults/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/baremetal/defaults/main.yml b/ansible/roles/baremetal/defaults/main.yml index ddb7030b22..2466ef3d40 100644 --- a/ansible/roles/baremetal/defaults/main.yml +++ b/ansible/roles/baremetal/defaults/main.yml @@ -51,14 +51,14 @@ debian_pkg_install: - git - "{% if not easy_install_available %}python-pip{% endif %}" - python-setuptools - - ntp + - "{% if enable_host_ntp | bool %}ntp{% endif %}" - "{% if enable_ceph_nfs|bool %}rpcbind{% endif %}" redhat_pkg_install: - "{{ docker_yum_package }}" - git - python-setuptools - - ntp + - "{% if enable_host_ntp | bool %}ntp{% endif %}" - sudo ubuntu_pkg_removals: