Skip to content

Commit

Permalink
Prepare the cron installation with prepare.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pwalczysko committed Nov 14, 2024
1 parent 0e416ee commit 3d474cf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions molecule/ome-demoserver/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ platforms:
provisioner:
name: ansible
playbooks:
prepare: ../prepare.yml
converge: ../../omero/ome-demoserver.yml
options:
v: true
Expand Down
12 changes: 12 additions & 0 deletions molecule/prepare.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3d474cf

Please sign in to comment.