Skip to content

Commit b6d8eef

Browse files
committed
Do not run timesync checks on deployment host
Kolla-ansible install python docker library in role/baremetal to group/baremetal, because of this get container facts for timesync checks is failing on deployment host. This patch adding when conditional, so deployment host will be skipped as there is no need to run timesync checks. Closes-Bug: #1933347 Change-Id: Ifefb9c74ee6a80cdbc458992d0196850ddfe7ffa (cherry picked from commit 281c993)
1 parent 2440168 commit b6d8eef

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ansible/roles/prechecks/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- include_tasks: timesync_checks.yml
66
when:
77
- not enable_chrony | bool
8+
- inventory_hostname not in groups['deployment']|default([])
89

910
- import_tasks: datetime_checks.yml
1011

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue with timesync checks on deployment host. See `bug
5+
1933347 <https://launchpad.net/bugs/1933347>`__ for details.

0 commit comments

Comments
 (0)