prevent failure if ubuntu-drivers autoinstall did not create a file
This commit is contained in:
parent
3ebd5df3cb
commit
85de5f119e
@ -801,6 +801,11 @@ yavdr-common executes the following tasks:
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
- name: touch /etc/yavdr/autoinstalled (this file must exist)
|
||||||
|
file:
|
||||||
|
path: /etc/yavdr/autoinstalled
|
||||||
|
state: touch
|
||||||
|
|
||||||
- name: create media directories
|
- name: create media directories
|
||||||
file:
|
file:
|
||||||
dest: '{{ item.value }}'
|
dest: '{{ item.value }}'
|
||||||
|
@ -4,6 +4,11 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
- name: touch /etc/yavdr/autoinstalled (this file must exist)
|
||||||
|
file:
|
||||||
|
path: /etc/yavdr/autoinstalled
|
||||||
|
state: touch
|
||||||
|
|
||||||
- name: create media directories
|
- name: create media directories
|
||||||
file:
|
file:
|
||||||
dest: '{{ item.value }}'
|
dest: '{{ item.value }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user