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