87 lines
2.0 KiB
YAML
87 lines
2.0 KiB
YAML
---
|
|
#####################################################################
|
|
#
|
|
# k8s-deployment playbook
|
|
#
|
|
# - requires that the 'devpath' variable be set to the path of the
|
|
# kubernetes application manifests.
|
|
# - requires that the 'haproxy_ingress_ver' and 'metallb_ver' variables
|
|
# be set to the desired version of each to install
|
|
#
|
|
# - to run a specific role individually, use the 'run_role.yml' playbook;
|
|
# - ansible-playbook -i localhost -e "myrole=<app>_deploy" -e "devpath=/home/rmorrow/dev/git.lan" run_role.yml
|
|
#
|
|
#####################################################################
|
|
|
|
- hosts: localhost
|
|
tasks:
|
|
|
|
roles:
|
|
# metallb load-balancer
|
|
- role: metallb_deploy
|
|
|
|
# haproxy ingress controller
|
|
- role: haproxy_deploy
|
|
|
|
# nfs-provisioner
|
|
- role: nfs-provisioner_deploy
|
|
|
|
# dashy namespace
|
|
- role: dashy_deploy
|
|
|
|
# delfax namespace
|
|
- role: ddclient_deploy
|
|
- role: delfax-net_deploy
|
|
- role: delinit_deploy
|
|
- role: linkding_deploy
|
|
- role: website_deploy
|
|
|
|
# filebrowser namespace
|
|
- role: filebrowser_deploy
|
|
|
|
# freshrss namespace
|
|
- role: freshrss_deploy
|
|
|
|
# gitea namespace
|
|
- role: gitea_deploy
|
|
|
|
# gotify namespace
|
|
- role: gotify_deploy
|
|
|
|
# home-automation namespace
|
|
- role: home-assistant_deploy
|
|
- role: mosquitto_deploy
|
|
- role: motioneye_deploy
|
|
|
|
# k8stv namespace
|
|
- role: flexget_deploy
|
|
- role: transmission-openvpn_deploy
|
|
|
|
# mealie namespace
|
|
- role: mealie_deploy
|
|
|
|
# nagios namespace
|
|
- role: nagios_deploy
|
|
|
|
# signal-api namespace
|
|
- role: signal-api_deploy
|
|
|
|
# tiddlywiki namespace
|
|
- role: journal-wiki_deploy
|
|
- role: notes-wiki_deploy
|
|
- role: website-wiki_deploy
|
|
- role: wfh-wiki_deploy
|
|
|
|
# uptime-kuma namespace
|
|
- role: uptime-kuma_deploy
|
|
|
|
# vaultwarden namespace
|
|
- role: vaultwarden_deploy
|
|
|
|
vars:
|
|
devpath: "/home/rmorrow/dev/git.lan"
|
|
haproxy_ingress_ver: 0.13.8
|
|
metallb_ver: v0.13.9
|
|
|
|
# EOF
|