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
This commit is contained in:
Radosław Piliszek 2019-10-12 17:11:41 +02:00
parent 9e18c8fc69
commit e91860c357

View File

@ -51,14 +51,14 @@ debian_pkg_install:
- git - git
- "{% if not easy_install_available %}python-pip{% endif %}" - "{% if not easy_install_available %}python-pip{% endif %}"
- python-setuptools - python-setuptools
- ntp - "{% if enable_host_ntp | bool %}ntp{% endif %}"
- "{% if enable_ceph_nfs|bool %}rpcbind{% endif %}" - "{% if enable_ceph_nfs|bool %}rpcbind{% endif %}"
redhat_pkg_install: redhat_pkg_install:
- "{{ docker_yum_package }}" - "{{ docker_yum_package }}"
- git - git
- python-setuptools - python-setuptools
- ntp - "{% if enable_host_ntp | bool %}ntp{% endif %}"
- sudo - sudo
ubuntu_pkg_removals: ubuntu_pkg_removals: