-- name: Upload config to rename network interfaces
- copy:
- src: 'files/99-vppdevice.yaml'
- dest: '/etc/netplan/99-vppdevice.yaml'
- owner: 'root'
- group: 'root'
- mode: 0644
+# TODO: Temporarily disabling due to Centos8 not having netplan.
+# Finding better solution via udev requires some work and testing.
+#- name: Upload config to rename network interfaces
+# copy:
+# src: 'files/99-vppdevice.yaml'
+# dest: '/etc/netplan/99-vppdevice.yaml'
+# owner: 'root'
+# group: 'root'
+# mode: 0644
+#- name: Apply network config changes
+# command: '/usr/sbin/netplan apply'
+
+- name: Centos8 install epel repositories
+ dnf:
+ name:
+ - 'epel-release'
+ when:
+ - ansible_distribution|lower == 'centos'