84ac7b3096
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
15 lines
283 B
YAML
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
|