ansible-homelab/cloud-init/fedora-serv.yml
2023-07-15 00:35:26 -05:00

64 lines
1.7 KiB
YAML

#cloud-config
yum_repos:
tailscale-stable:
name: Tailscale stable
baseurl: https://pkgs.tailscale.com/stable/fedora/x86_64
enabled: true
type: rpm
repo_gpgcheck: true
gpgcheck: false
gpgkey: https://pkgs.tailscale.com/stable/fedora/repo.gpg
charm:
name: Charm
baseurl: https://repo.charm.sh/yum/
enabled: true
gpgcheck: true
gpgkey: https://repo.charm.sh/yum/gpg.key
caddy:
name: Copr repo for caddy owned by @caddy
baseurl: https://download.copr.fedorainfracloud.org/results/@caddy/caddy/fedora-38-x86_64/
type: rpm-md
skip_if_unavailable: true
gpgcheck: true
gpgkey: https://download.copr.fedorainfracloud.org/results/@caddy/caddy/pubkey.gpg
repo_gpgcheck: 0
enabled: true
enabled_metadata: 1
package_update: true
package_upgrade: true
packages:
- '@c-development'
- '@development-tools'
- certbot
- curl
- dnf-automatic
- git
- golang
- python3-devel
- python3-pip
- rsync
- openssh
- wget
- caddy
- soft-serve
- vim
- tailscale
users:
- name: fedora
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIOmibToJQ8JZpSFLH3482oxvpD56QAfu4ndoofbew5t jas@nexus.local
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItZX/e12RMbdTov8HYLTLTiY0U08X8z73LXdlRMNkTZ jas@moonshadow
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMPnZBvorp/NDi5MNmrBqeSTnY3sNiZVNPF91dORH94Y jas@evergloam
sudo: 'ALL=(ALL) NOPASSWD: ALL'
shell: /bin/bash
lock_passwd: true
rsyslog:
configs:
- content: "*.* @10.0.0.27:514"
filename: 99-forward.conf
remotes:
logs: 10.0.0.27
timezone: America/Chicago
runcmd:
- printf "fastestmirror=True\ndeltarpm=True\nmax_parallel_downloads=10\n" | tee -a /etc/dnf/dnf.conf