fix if file is not already present
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
otthorn 2021-02-10 11:04:06 +01:00
parent df8bae6df7
commit 08891be5a3

View file

@ -3,10 +3,11 @@
# Check for the distribution
- hosts: localhost
tasks:
- name: Delete local tmp file
file:
path: /tmp/ansible_dump_dist_version.txt
state: absent
- name: Make sure local file exist but is empty # weird hack, I know
copy:
dest: /tmp/ansible_dump_reboot_needed.txt
content: ""
force: true
- hosts: all,!unifi
tasks: