„basics.yml“ ändern
This commit is contained in:
parent
6a27d2e6f7
commit
5c8438ec07
@ -100,12 +100,14 @@
|
||||
path: /etc/network/interfaces
|
||||
regexp: '(^allow-hotplug .*)'
|
||||
replace: '#\1'
|
||||
when: stat_result.stat.exists
|
||||
|
||||
- name: Disable all Network-config but source interfaces.d in /etc/network/interfaces because dhcpcd will do the job
|
||||
replace:
|
||||
path: /etc/network/interfaces
|
||||
regexp: '(^auto .*)'
|
||||
replace: '#\1'
|
||||
when: stat_result.stat.exists
|
||||
|
||||
- name: Set a hostname
|
||||
ansible.builtin.hostname:
|
||||
|
Loading…
Reference in New Issue
Block a user