Merge "nova-evacuate: Disable libvirtd service and sockets during negative tests"

This commit is contained in:
Zuul 2020-10-04 18:14:56 +00:00 committed by Gerrit Code Review
commit 8bb44fd545
1 changed files with 12 additions and 2 deletions

View File

@ -34,8 +34,13 @@
- name: Stop libvirtd on "{{ inventory_hostname }}"
become: true
systemd:
name: libvirtd
name: "{{ item }}"
state: stopped
with_items:
- libvirtd.service
- libvirtd.socket
- libvirtd-admin.socket
- libvirtd-ro.socket
- name: Run negative evacuate tests
become: true
@ -47,8 +52,13 @@
- name: Start libvirtd on "{{ inventory_hostname }}"
become: true
systemd:
name: libvirtd
name: "{{ item }}"
state: started
with_items:
- libvirtd.service
- libvirtd.socket
- libvirtd-admin.socket
- libvirtd-ro.socket
- name: Run evacuate tests
become: true