kolla-ansible/ansible/roles/baremetal/tasks
Michal Arbet 89e6f9aba9 Remove chrony package if containerized chrony is enabled
This patch is removing chrony package
from docker host when containerized chrony is enabled.
It is also fixing issue with chrony container running
under Ubuntu docker host as noted below.

+ exec /usr/sbin/chronyd -d -f /etc/chrony/chrony.conf
2020-06-08T08:19:09Z chronyd version 3.4 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
2020-06-08T08:19:09Z Fatal error : Could not open configuration file /etc/chrony/chrony.conf : Permission denied

Added also removal apparmor profile for ubuntu when
containerized chrony is enabled, as chrony's package
is not removing apparmor profile, and therefore
containerized chrony is not working.

Change-Id: Icf3bbae38b9f5630b69d5c8cf6a8bee11786a836
Closes-Bug: #1882513
(cherry picked from commit 3d747b7200)
2020-06-26 19:51:39 +00:00
..
bootstrap-servers.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
check.yml Enable sanity checks from kolla-ansible 2017-03-09 10:37:06 +00:00
install.yml Start Docker after upgrade 2019-11-15 14:21:44 +00:00
main.yml Use include_tasks instead of include 2018-07-25 23:57:22 +08:00
post-install.yml Remove chrony package if containerized chrony is enabled 2020-06-26 19:51:39 +00:00
pre-install.yml Use more permissive regex to remove the offending 127.0.1.1 2020-02-26 19:55:18 +00:00