diff --git a/molecule/ome-demoserver/molecule.yml b/molecule/ome-demoserver/molecule.yml index 6569df3c..ec612b45 100644 --- a/molecule/ome-demoserver/molecule.yml +++ b/molecule/ome-demoserver/molecule.yml @@ -25,6 +25,7 @@ platforms: provisioner: name: ansible playbooks: + prepare: ../prepare.yml converge: ../../omero/ome-demoserver.yml options: v: true diff --git a/molecule/prepare.yml b/molecule/prepare.yml new file mode 100644 index 00000000..97571d71 --- /dev/null +++ b/molecule/prepare.yml @@ -0,0 +1,12 @@ +--- +- name: Converge + hosts: all + + # If testing in Docker cron won't be installed + pre_tasks: + - name: Install cron + become: true + ansible.builtin.dnf: + update_cache: true + name: cronie + state: present