From 7fb1569880b5d1d6ea1affe6ad24b738557708f4 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@esss.se> Date: Tue, 9 Apr 2019 09:44:07 +0200 Subject: [PATCH] Add instance to check rpm removal --- molecule/default/molecule.yml | 2 ++ molecule/default/prepare.yml | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 7c57176..94b5042 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -26,3 +26,5 @@ platforms: image: centos:7 - name: ics-ans-role-conda-create-env image: centos:7 + - name: ics-ans-role-conda-rpm + image: centos:7 diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml index 5358b3b..4e2b043 100644 --- a/molecule/default/prepare.yml +++ b/molecule/default/prepare.yml @@ -1,5 +1,13 @@ --- - name: Prepare - hosts: all + hosts: ics-ans-role-conda-rpm gather_facts: false - tasks: [] + tasks: + - name: install conda rpm + yum: + name: https://artifactory.esss.lu.se/artifactory/conda-mirror/conda-4.5.12-0.x86_64.rpm + state: present + - name: create dummy .condarc file + file: + path: /opt/conda/.condarc + state: touch -- GitLab