Merge pull request #25 from jovial/usr-bin
Use /usr/bin/virsh instead of /bin/virsh
This commit is contained in:
commit
7a04432226
@ -11,7 +11,7 @@ Requirements
|
||||
the shell environment. These can be sourced from an OpenStack RC file, for
|
||||
example.
|
||||
|
||||
- The `virsh` command-line tool present at `/bin/virsh`.
|
||||
- The `virsh` command-line tool present at `/usr/bin/virsh`.
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
@ -12,9 +12,7 @@
|
||||
# The output format of this command gives two lines of header, followed by
|
||||
# (for each vNIC):
|
||||
# <name> <type> <source interface> <model> <MAC>
|
||||
# The VMs will have been created with the virt module, using become: true.
|
||||
# This targets /bin/virsh rather than /usr/bin/virsh.
|
||||
command: /bin/virsh domiflist '{{ node.name }}'
|
||||
command: /usr/bin/virsh domiflist '{{ node.name }}'
|
||||
register: iflist_res
|
||||
changed_when: false
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user