kolla-ansible/ansible/chrony-cleanup.yml
Mark Goddard 84ac7b3096 chrony: allow to remove the container
The chrony container is deprecated in Wallaby, and disabled by default.
This change allows to remove the container if chrony is disabled.

Change-Id: I1c4436072c2d47a95625e64b731edb473384b395
2021-06-02 17:28:35 +00:00

15 lines
283 B
YAML

---
- name: Remove chrony container
gather_facts: false
hosts:
- chrony-server
- chrony
serial: '{{ kolla_serial|default("0") }}'
tags:
- chrony
tasks:
- import_role:
name: chrony
tasks_from: cleanup.yml
when: not enable_chrony | bool