Verified Commit 97445b97 authored by Hephaestus Builder's avatar Hephaestus Builder
Browse files

FIX: disable yum usage when invoked within a yum hook (mail/configure-dovecot)

parent 47bbc0d7
......@@ -6,7 +6,7 @@
- dovecot-pigeonhole
- dovecot*-apnscp
state: '{{ mail_enabled | ternary("installed","absent") }}'
when: yum_transaction_hook | default('') != ""
when: yum_transaction_hook | default('') == ""
- name: Remove Dovecot relocation
file: path="{{ dovecot_shared_root }}" state=absent
when: not mail_enabled | bool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment