ansible-homelab/cloud-init/debian-serv.yml

42 lines
941 B
YAML
Raw Normal View History

2023-06-04 16:17:58 +02:00
#cloud-config
apt:
sources_list: |
deb http://deb.debian.org/debian $RELEASE main
deb http://deb.debian.org/debian $RELEASE-updates main
deb http://deb.debian.org/debian-security/ $RELEASE-security main
deb http://deb.debian.org/debian $RELEASE-backports main
package_update: true
package_upgrade: true
packages:
2023-06-10 23:52:27 +02:00
- acl
2023-06-04 16:17:58 +02:00
- apt-transport-https
2023-06-10 23:52:27 +02:00
- apt-utils
2023-06-04 16:17:58 +02:00
- build-essential
- certbot
- curl
- debian-keyring
- debian-archive-keyring
- git
- golang
2023-06-10 23:52:27 +02:00
- man-db
- manpages
2023-06-04 16:17:58 +02:00
- ssh
- python3-dev
- python3-pip
- rsync
- wget
users:
- name: debian
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIOmibToJQ8JZpSFLH3482oxvpD56QAfu4ndoofbew5t jas@si.local
sudo: 'ALL=(ALL) NOPASSWD: ALL'
shell: /bin/bash
lock_passwd: true
rsyslog:
configs:
- content: "*.* @10.0.0.27:514"
2023-06-04 16:17:58 +02:00
filename: 99-forward.conf
remotes:
logs: 10.0.0.27
2023-06-04 16:17:58 +02:00
timezone: America/Chicago