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
|
||||
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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user