Reverting blocking error on disable-upgrade and disabilitation of eth0 interface.

This commit is contained in:
Emiliano Vavassori 2017-09-11 23:49:08 +02:00
parent 6f1af3aef9
commit 3a1990fe9a
1 changed files with 10 additions and 10 deletions

View File

@ -1,16 +1,16 @@
---
# Fixing NetworkManager issues.
- name: Ensuring first NIC will never be disabled again
lineinfile:
line: "{{ item }}"
state: present
dest: /etc/network/interfaces
insertafter: EOF
with_items:
- " "
- "auto eth0"
- "iface eth0 inet dhcp"
#- name: Ensuring first NIC will never be disabled again
# lineinfile:
# line: "{{ item }}"
# state: present
# dest: /etc/network/interfaces
# insertafter: EOF
# with_items:
# - " "
# - "auto eth0"
# - "iface eth0 inet dhcp"
# Hiding icon for any sessions