Open vSwitch service name is different between distros
The service is called openvswitch-switch on Debian/Ubuntu derivatives - this starts ovsdb-server.service and ovs-vswitchd.service as dependencies. TrivialFix Change-Id: I0cb06a387cfeadadb3b978afb4d17a88e9935d17
This commit is contained in:
parent
d697cb47f0
commit
154ec6cc2c
@ -34,12 +34,12 @@
|
|||||||
- block:
|
- block:
|
||||||
- name: Ensure Open vSwitch package is installed
|
- name: Ensure Open vSwitch package is installed
|
||||||
package:
|
package:
|
||||||
name: "{{ openvswitch_pkg_name }}"
|
name: "{{ tenks_openvswitch_pkg_name }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Ensure Open vSwitch is started and enabled
|
- name: Ensure Open vSwitch is started and enabled
|
||||||
service:
|
service:
|
||||||
name: openvswitch
|
name: "{{ tenks_openvswitch_service_name }}"
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
become: true
|
become: true
|
||||||
|
@ -5,4 +5,7 @@ tenks_ip_path: /sbin/ip
|
|||||||
|
|
||||||
# package that provides the Open vSwitch daemon and userspace
|
# package that provides the Open vSwitch daemon and userspace
|
||||||
# utilities
|
# utilities
|
||||||
openvswitch_pkg_name: openvswitch-switch
|
tenks_openvswitch_pkg_name: openvswitch-switch
|
||||||
|
|
||||||
|
# service name of Open vSwitch daemon (as passed the Ansible service module)
|
||||||
|
tenks_openvswitch_service_name: openvswitch-switch
|
||||||
|
@ -5,4 +5,7 @@ tenks_ip_path: /usr/sbin/ip
|
|||||||
|
|
||||||
# package that provides the Open vSwitch daemon and userspace
|
# package that provides the Open vSwitch daemon and userspace
|
||||||
# utilities
|
# utilities
|
||||||
openvswitch_pkg_name: openvswitch
|
tenks_openvswitch_pkg_name: openvswitch
|
||||||
|
|
||||||
|
# service name of Open vSwitch daemon (as passed the Ansible service module)
|
||||||
|
tenks_openvswitch_service_name: openvswitch
|
||||||
|
Loading…
Reference in New Issue
Block a user