summaryrefslogtreecommitdiffstats
path: root/ansible/test
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-04-02 15:39:25 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2019-04-16 16:11:02 +0200
commitf7bcc11eecf16a3565286ea3ae95bbd679fa6135 (patch)
tree61071b71af304eb91a2238cc8506b0858b4f960a /ansible/test
parentcceed25e6c773c18e479e246ddeadebc82870f70 (diff)
Molecule tests for chrony role
Change-Id: I2cfee4ef44b1aa0ddff0b5d93712390988846c90 Issue-ID: OOM-1710 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
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