From 30c1087beeea21a9c5e015181cf18563c48107ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Fri, 2 Sep 2022 09:58:41 +0200
Subject: [PATCH] fix: always set changed_when to false when installing/purging
 SubApp. That's necessary for the migration to RC2022.2 to avoid conflicting
 files in two of the changed packages.

---
 tasks/install_subapp.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tasks/install_subapp.yml b/tasks/install_subapp.yml
index 9843ec4..939187a 100644
--- a/tasks/install_subapp.yml
+++ b/tasks/install_subapp.yml
@@ -42,6 +42,7 @@
     state: absent
     autoclean: true
     autoremove: true
+  changed_when: false     # this is only needed for the migration to RC2022.2 and won't be needed afterwards
 - name: Submission / Dissemination Application installieren
   ansible.builtin.apt:
     name: [
@@ -51,6 +52,7 @@
     ]
     state: latest
     allow_unauthenticated: "true"
+  changed_when: false     # this is only needed for the migration to RC2022.2 and won't be needed afterwards
 
 - name: Systemd-Unitfiles installieren (Templates)
   ansible.builtin.template:
-- 
GitLab