make sure the target dir exists before copying files into it
This commit is contained in:
parent
240823fcab
commit
9d65562324
1 changed files with 8 additions and 0 deletions
|
@ -87,6 +87,14 @@
|
|||
# For some reason, virsh will always find qemu:///session instead
|
||||
# of the qemu:///system that we need, so force a new default
|
||||
#
|
||||
- name: ensure libvirt user has config dir for libvirt
|
||||
file:
|
||||
path: /home/{{ libvirt_user }}/.config/libvirt
|
||||
state: directory
|
||||
owner: {{ phabricator_daemon_user }}
|
||||
group: {{ phabricator_daemon_user }}
|
||||
mode: 1775
|
||||
|
||||
- name: create libvirt config for libvirt remote user
|
||||
copy:
|
||||
src: libvirt.conf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue