2015-09-14 00:23:31 +02:00
|
|
|
---
|
|
|
|
# Adjusting other settings due to unattended installation
|
|
|
|
|
|
|
|
- name: Adjusting connections for NetworkManager
|
|
|
|
lineinfile:
|
|
|
|
dest: /etc/network/interfaces
|
|
|
|
regexp: "{{ item }}"
|
|
|
|
state: absent
|
|
|
|
when: ansible_product_name != "VirtualBox"
|
|
|
|
with_items:
|
2017-02-10 22:27:49 +01:00
|
|
|
- '^auto {{ ansible_default_ipv4.interface }}'
|
|
|
|
- '^iface {{ ansible_default_ipv4.interface }}'
|