mirror of
https://codeberg.org/hyperreal/ansible-homelab
synced 2024-11-01 08:33:07 +01:00
Add fedora-serv, fedora-mastodon cloud-init configs
This commit is contained in:
parent
9f183c1984
commit
2b1124edd3
@ -33,8 +33,8 @@ packages:
|
||||
- youtube-dl
|
||||
rsyslog:
|
||||
configs:
|
||||
- content: "*.* @10.0.0.41:514"
|
||||
- content: "*.* @10.0.0.27:514"
|
||||
filename: 99-forward.conf
|
||||
remotes:
|
||||
moonshadow: 10.0.0.41
|
||||
logs: 10.0.0.27
|
||||
timezone: America/Chicago
|
||||
|
@ -34,8 +34,8 @@ users:
|
||||
lock_passwd: true
|
||||
rsyslog:
|
||||
configs:
|
||||
- content: "*.* @10.0.0.41:514"
|
||||
- content: "*.* @10.0.0.27:514"
|
||||
filename: 99-forward.conf
|
||||
remotes:
|
||||
moonshadow: 10.0.0.41
|
||||
logs: 10.0.0.27
|
||||
timezone: America/Chicago
|
||||
|
53
cloud-init/fedora-mastodon.yml
Normal file
53
cloud-init/fedora-mastodon.yml
Normal 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
|
62
cloud-init/fedora-serv.yml
Normal file
62
cloud-init/fedora-serv.yml
Normal 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
|
@ -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
|
Loading…
Reference in New Issue
Block a user