summaryrefslogtreecommitdiffstats
path: root/ansible/test
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-04-17 08:18:55 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-17 08:18:55 +0000
commit45fa0030abb4c013722f68c1ef23d53ba1d1620e (patch)
treeebb9d64279e6e740f4a9baf6fab6cb6ab23b1a53 /ansible/test
parent1266d180911300c4236a6e1411b1f1782884dafb (diff)
parentf7bcc11eecf16a3565286ea3ae95bbd679fa6135 (diff)
Merge "Molecule tests for chrony role"
Diffstat (limited to 'ansible/test')
-rw-r--r--ansible/test/roles/prepare-chrony/tasks/main.yml6
-rw-r--r--ansible/test/roles/prepare-chrony/vars/main.yml4
2 files changed, 10 insertions, 0 deletions
diff --git a/ansible/test/roles/prepare-chrony/tasks/main.yml b/ansible/test/roles/prepare-chrony/tasks/main.yml
new file mode 100644
index 00000000..3632ea97
--- /dev/null
+++ b/ansible/test/roles/prepare-chrony/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: Install required packages
+ package:
+ name: "{{ item }}"
+ state: present
+ loop: "{{ packages }}"
diff --git a/ansible/test/roles/prepare-chrony/vars/main.yml b/ansible/test/roles/prepare-chrony/vars/main.yml
new file mode 100644
index 00000000..5dcc78d9
--- /dev/null
+++ b/ansible/test/roles/prepare-chrony/vars/main.yml
@@ -0,0 +1,4 @@
+---
+packages:
+ - chrony
+ - tzdata