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

This reverts commit dad6b77f0e.

Podman wants an actual structure in the JSON file.

Change-Id: Ib4cd78521019eaee2715b53c8ce97e07b8921d15
This commit is contained in:
Cédric Jeanneret (Tengu) 2020-07-31 13:12:11 +00:00
parent dad6b77f0e
commit b8dc92ee58
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