add neko custom stuff

This commit is contained in:
2022-04-12 16:26:46 +02:00
parent 4c2be7e50b
commit 656a7abb4b
15 changed files with 62 additions and 56 deletions

View File

@ -1,8 +1,3 @@
---
- name: run Timedatectl
command: timedatectl set-ntp true
- name: "netplanapply"
command: netplan apply
async: 45
poll: 0

View File

@ -1,5 +1,4 @@
---
- include_tasks: static-networking.yaml
- include_tasks: apt.yaml
- include_tasks: clean-motd.yaml
- include_tasks: remove-snap.yaml

View File

@ -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

View File

@ -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}}