„basics.yml“ ändern
This commit is contained in:
parent
b0fbe2521a
commit
fda5ba1342
@ -135,11 +135,17 @@
|
|||||||
install_recommends: no
|
install_recommends: no
|
||||||
when: nocontainer.stat.exists == false
|
when: nocontainer.stat.exists == false
|
||||||
|
|
||||||
|
- name: check if this is a mint system
|
||||||
|
stat:
|
||||||
|
path: /etc/linuxmint/mintSystem.conf
|
||||||
|
register: mint
|
||||||
|
|
||||||
- name: add dhcpcd to startup
|
- name: add dhcpcd to startup
|
||||||
command: systemctl enable dhcpcd
|
command: systemctl enable dhcpcd
|
||||||
args:
|
args:
|
||||||
creates: /etc/systemd/system/multi-user.target.wants/dhcpcd.service
|
creates: /etc/systemd/system/multi-user.target.wants/dhcpcd.service
|
||||||
when: nocontainer.stat.exists == true
|
when: nocontainer.stat.exists == true
|
||||||
|
when: mint.stat.exists == false
|
||||||
|
|
||||||
- name: No DHCPcd for internal interfaces
|
- name: No DHCPcd for internal interfaces
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
|
Loading…
Reference in New Issue
Block a user