Revert "Ensure we produce a valid JSON while emptying the file"

This reverts commit 74494f6070.

Podman wants an actual structure in the JSON file.

Change-Id: I350d2b5f9221edd03b82a19f70bc56b2ab87642d
This commit is contained in:
Cédric Jeanneret (Tengu) 2020-07-31 13:12:04 +00:00
parent 74494f6070
commit e39c30c8d1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@
- name: Remove default cni config for cni0 if exists - name: Remove default cni config for cni0 if exists
copy: copy:
dest: /etc/cni/net.d/87-podman-bridge.conflist dest: /etc/cni/net.d/87-podman-bridge.conflist
content: '{}' content: ''
force: true force: true
when: when:
- podman_bridge_config.stat.exists | bool - podman_bridge_config.stat.exists | bool