AETHER-2805
Suport adding individual trusted servers to Chrony config
Add support for Debian 11
Change-Id: Ide4dadf59bebd0b2304041eead52298a5aeb4c48
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
index a9e8bbc..3b259b2 100644
--- a/molecule/default/molecule.yml
+++ b/molecule/default/molecule.yml
@@ -14,6 +14,11 @@
privileged: true
volumes:
- "/sys/fs/cgroup:/sys/fs/cgroup:ro"
+ - name: "debian-11-priv"
+ image: "onfinfra/molecule-systemd:debian-11"
+ privileged: true
+ volumes:
+ - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
provisioner:
name: ansible
inventory:
diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml
new file mode 100644
index 0000000..fa0fb92
--- /dev/null
+++ b/molecule/default/prepare.yml
@@ -0,0 +1,15 @@
+---
+# chrony molecule/default/verify.yml
+#
+# SPDX-FileCopyrightText: © 2021 Open Networking Foundation <support@opennetworking.org>
+# SPDX-License-Identifier: Apache-2.0
+
+
+- name: Prepare for chrony role
+ hosts: all
+
+ pre_tasks:
+
+ - name: update apt cache
+ apt:
+ update_cache: true