prevent failure if ubuntu-drivers autoinstall did not create a file

This commit is contained in:
Alexander Grothe 2019-05-11 16:38:38 +02:00
parent 3ebd5df3cb
commit 85de5f119e
2 changed files with 10 additions and 0 deletions

View File

@ -801,6 +801,11 @@ yavdr-common executes the following tasks:
state: directory
mode: 0755
- name: touch /etc/yavdr/autoinstalled (this file must exist)
file:
path: /etc/yavdr/autoinstalled
state: touch
- name: create media directories
file:
dest: '{{ item.value }}'

View File

@ -4,6 +4,11 @@
state: directory
mode: 0755
- name: touch /etc/yavdr/autoinstalled (this file must exist)
file:
path: /etc/yavdr/autoinstalled
state: touch
- name: create media directories
file:
dest: '{{ item.value }}'