Molecule tests for certificates role
Issue-ID: OOM-1762
Change-Id: Ic13d7ec775a52ad95fc0388e8b84ea8ab7367666
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
diff --git a/ansible/roles/nexus/tasks/configure.yml b/ansible/roles/nexus/tasks/configure.yml
index 7e6c20e..1a885db 100644
--- a/ansible/roles/nexus/tasks/configure.yml
+++ b/ansible/roles/nexus/tasks/configure.yml
@@ -20,7 +20,7 @@
body:
name: configure
type: groovy
- content: "{{ lookup('file', 'files/configure.groovy') }}"
+ content: "{{ lookup('file', '{{ role_path }}/files/configure.groovy') }}"
status_code: [204]
- name: "execute configuration script"
uri: