Skip to content

Commit 760ce28

Browse files
committed
Reapply "bringup_guestfs: use sudo creating storage pool for libvirt system"
This reverts commit bb73dec.
1 parent bb73dec commit 760ce28

File tree

1 file changed

+3
-0
lines changed
  • playbooks/roles/bringup_guestfs/tasks

1 file changed

+3
-0
lines changed

playbooks/roles/bringup_guestfs/tasks/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@
5050
tags: ['storage-pool-path']
5151

5252
- name: Create storage pool path directory and set group if using (libvirt system uri)
53+
become: yes
54+
become_flags: 'su - -c'
55+
become_method: sudo
5356
file:
5457
path: "{{ libvirt_storage_pool_path }}"
5558
state: directory

0 commit comments

Comments
 (0)