Reverting blocking error on disable-upgrade and disabilitation of eth0 interface.
This commit is contained in:
parent
1130b8159c
commit
cc729cb0a6
@ -5,7 +5,7 @@
|
|||||||
path: /usr/share/upstart/sessions/update-notifier-release.conf
|
path: /usr/share/upstart/sessions/update-notifier-release.conf
|
||||||
register: update_notifier_release_stat
|
register: update_notifier_release_stat
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
|
#
|
||||||
- name: Removing notifications for system upgrade
|
#- name: Removing notifications for system upgrade
|
||||||
shell: mv /usr/share/upstart/sessions/update-notifier-release.conf /usr/share/upstart/sessions/update-notifier-release.conf.disabled
|
# shell: mv /usr/share/upstart/sessions/update-notifier-release.conf /usr/share/upstart/sessions/update-notifier-release.conf.disabled
|
||||||
when: update_notifier_release_stat|success
|
# when: update_notifier_release_stat|success
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
---
|
---
|
||||||
# Fixing NetworkManager issues.
|
# Fixing NetworkManager issues.
|
||||||
|
|
||||||
- name: Ensuring first NIC will never be disabled again
|
#- name: Ensuring first NIC will never be disabled again
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
line: "{{ item }}"
|
# line: "{{ item }}"
|
||||||
state: present
|
# state: present
|
||||||
dest: /etc/network/interfaces
|
# dest: /etc/network/interfaces
|
||||||
insertafter: EOF
|
# insertafter: EOF
|
||||||
with_items:
|
# with_items:
|
||||||
- " "
|
# - " "
|
||||||
- "auto eth0"
|
# - "auto eth0"
|
||||||
- "iface eth0 inet dhcp"
|
# - "iface eth0 inet dhcp"
|
||||||
|
|
||||||
# Hiding icon for any sessions
|
# Hiding icon for any sessions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user