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 1130b8159c
commit cc729cb0a6
2 changed files with 14 additions and 14 deletions

View File

@ -5,7 +5,7 @@
path: /usr/share/upstart/sessions/update-notifier-release.conf
register: update_notifier_release_stat
ignore_errors: yes
- 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
when: update_notifier_release_stat|success
#
#- 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
# when: update_notifier_release_stat|success

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