copr-hv: libvirtd bridge tagged
This commit is contained in:
parent
0e16e9d682
commit
5c21297773
1 changed files with 3 additions and 0 deletions
|
@ -51,11 +51,13 @@
|
||||||
register: libvirt_bridge_exists
|
register: libvirt_bridge_exists
|
||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: libvirt_bridge_exists.rc != 0
|
changed_when: libvirt_bridge_exists.rc != 0
|
||||||
|
tags: libvirtd
|
||||||
|
|
||||||
- name: copy host-bridge config file to host
|
- name: copy host-bridge config file to host
|
||||||
copy: src=libvirt-net-bridge.xml
|
copy: src=libvirt-net-bridge.xml
|
||||||
dest=/root/.tmp-ansible-file.xml
|
dest=/root/.tmp-ansible-file.xml
|
||||||
when: libvirt_bridge_exists.changed
|
when: libvirt_bridge_exists.changed
|
||||||
|
tags: libvirtd
|
||||||
|
|
||||||
- name: define host-bridge in libvirt
|
- name: define host-bridge in libvirt
|
||||||
shell: |
|
shell: |
|
||||||
|
@ -64,6 +66,7 @@
|
||||||
virsh net-autostart host-bridge
|
virsh net-autostart host-bridge
|
||||||
when: libvirt_bridge_exists.changed
|
when: libvirt_bridge_exists.changed
|
||||||
notify: restart libvirtd
|
notify: restart libvirtd
|
||||||
|
tags: libvirtd
|
||||||
|
|
||||||
- name: create the copr user
|
- name: create the copr user
|
||||||
user: name=copr uid=11666
|
user: name=copr uid=11666
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue