Add fedora-serv, fedora-mastodon cloud-init configs

This commit is contained in:
Jeffrey Serio 2023-07-06 16:52:24 -05:00
parent 9f183c1984
commit 2b1124edd3
5 changed files with 119 additions and 19 deletions

View File

@ -33,8 +33,8 @@ packages:
- youtube-dl - youtube-dl
rsyslog: rsyslog:
configs: configs:
- content: "*.* @10.0.0.41:514" - content: "*.* @10.0.0.27:514"
filename: 99-forward.conf filename: 99-forward.conf
remotes: remotes:
moonshadow: 10.0.0.41 logs: 10.0.0.27
timezone: America/Chicago timezone: America/Chicago

View File

@ -34,8 +34,8 @@ users:
lock_passwd: true lock_passwd: true
rsyslog: rsyslog:
configs: configs:
- content: "*.* @10.0.0.41:514" - content: "*.* @10.0.0.27:514"
filename: 99-forward.conf filename: 99-forward.conf
remotes: remotes:
moonshadow: 10.0.0.41 logs: 10.0.0.27
timezone: America/Chicago timezone: America/Chicago

View File

@ -0,0 +1,53 @@
#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

View File

@ -0,0 +1,62 @@
#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
- 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

View File

@ -1,15 +0,0 @@
#cloud-config
package_update: true
package_upgrade: true
packages:
- curl
- less
- rsyslog
- transmission-daemon
rsyslog:
configs:
- content: "*.* @10.0.0.41:514"
filename: 99-forward.conf
remotes:
moonshadow: 10.0.0.41
timezone: America/Chicago