From 74494f6070e7aa4cfecd1f4758f29d0bc5264026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Jeanneret?= Date: Thu, 30 Jul 2020 07:54:40 +0200 Subject: [PATCH] Ensure we produce a valid JSON while emptying the file It was detected this overrides breaks, at least, `podman network ls' CLI. Change-Id: I96382e655a03306f233963edb2aaa72953c7a531 Closes-Bug: #1889510 (cherry picked from commit dad6b77f0e0cde530f44c514da2bcb214abd9acf) --- .../roles/tripleo_podman/tasks/tripleo_podman_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml b/tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml index 240be8f1e..4654c2879 100644 --- a/tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml +++ b/tripleo_ansible/roles/tripleo_podman/tasks/tripleo_podman_install.yml @@ -43,7 +43,7 @@ - name: Remove default cni config for cni0 if exists copy: dest: /etc/cni/net.d/87-podman-bridge.conflist - content: '' + content: '{}' force: true when: - podman_bridge_config.stat.exists | bool