ansible-homelab/cloud-init/fedora-mastodon.yml
2023-07-06 16:52:24 -05:00

54 lines
1.4 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
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'
- curl
- git
- golang
- python3-devel
- python3-pip
- rsync
- openssh
- wget
- caddy
- vim
- tailscale
users:
- name: fedora
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIOmibToJQ8JZpSFLH3482oxvpD56QAfu4ndoofbew5t jas@nexus.local
- 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