Fix openvswitch deployment for RHEL
This commit is contained in:
parent
a3178a57e2
commit
5b5323a518
3 changed files with 29 additions and 21 deletions
|
|
@ -5,13 +5,13 @@
|
|||
- name: Include tasks for {{ ansible_os_family }}
|
||||
include_tasks: "{{ ansible_os_family }}.yml"
|
||||
|
||||
- name: install packages
|
||||
- name: Install OpenVSwith packages
|
||||
package:
|
||||
name: "{{ openvswitch_packages }}"
|
||||
state: present
|
||||
update_cache: yes
|
||||
when:
|
||||
ansible_os_family != "RedHat"
|
||||
# when:
|
||||
# ansible_os_family != "RedHat"
|
||||
notify: Restart openvswitch
|
||||
|
||||
- name: Enable openvswitch
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue