Skip to content

Commit

Permalink
Merge pull request #5 from idsys-unibe-ch/fix/mrolli/4-fix-uninstall-…
Browse files Browse the repository at this point in the history
…test-scenario

fix: uninstall test scenario should install Postfix first
  • Loading branch information
mrolli authored Jun 14, 2023
2 parents 25e1cce + 31a42e9 commit 80131e8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions molecule/uninstall/converge.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
---
- name: Converge to state where postfix is removed
- name: Converge to state where a previously installed Postfix is removed
hosts: all

tasks:
- name: "Remove Postfix from the system"
- name: "Install Postfix with defaults on the system"
ansible.builtin.include_role:
name: "unibe_idsys.postfix"

- name: "Flush handlers"
ansible.builtin.meta: flush_handlers

- name: "Remove Postfix from the system again"
ansible.builtin.include_role:
name: "unibe_idsys.postfix"
vars:
Expand Down

0 comments on commit 80131e8

Please sign in to comment.