Commit 1ab211da authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

Fix condition for ipcm

Registered ipcm variable can be checked against
stat.exists in order to assert existence of ipcm
parent a6cd2991
......@@ -5,7 +5,7 @@
- name: Remove legacy repositories from git.erp5.org
apt_key: id=1A716324 state=absent
when: ansible_distribution == "Debian" and not (rina or ipcm.isreg)
when: ansible_distribution == "Debian" and not (rina or ipcm.stat.exists)
- name: Remove {{ base_open_build_url }} key (and add later) on every upgrade, as expiration date is quite short (2 months).
apt_key: id=94A63987 state=absent
......
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