add neko custom stuff
This commit is contained in:
@ -1,8 +1,3 @@
|
||||
---
|
||||
- name: run Timedatectl
|
||||
command: timedatectl set-ntp true
|
||||
|
||||
- name: "netplanapply"
|
||||
command: netplan apply
|
||||
async: 45
|
||||
poll: 0
|
||||
|
@ -1,5 +1,4 @@
|
||||
---
|
||||
- include_tasks: static-networking.yaml
|
||||
- include_tasks: apt.yaml
|
||||
- include_tasks: clean-motd.yaml
|
||||
- include_tasks: remove-snap.yaml
|
||||
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
- name: "remove cloudinit config"
|
||||
file:
|
||||
path: /etc/netplan/50-cloud-init.yaml
|
||||
state: absent
|
||||
|
||||
- name: "remove installer config"
|
||||
file:
|
||||
path: /etc/netplan/00-installer-config.yaml
|
||||
state: absent
|
||||
|
||||
- name: "install static config"
|
||||
template:
|
||||
src: templates/netplan.yaml
|
||||
dest: /etc/netplan/00-static.yaml
|
||||
notify: netplanapply
|
@ -1,11 +0,0 @@
|
||||
# {{ansible_managed}}
|
||||
network:
|
||||
version: 2
|
||||
renderer: networkd
|
||||
ethernets:
|
||||
ens192:
|
||||
dhcp4: true
|
||||
dhcp-identifier: mac
|
||||
dhcp4-overrides:
|
||||
use-routes: false
|
||||
gateway4: {{default_gateway}}
|
Reference in New Issue
Block a user