From 95568b74f7f151a29dc02441a9f352105cab7973 Mon Sep 17 00:00:00 2001 From: Bert-Jan Fikse Date: Wed, 20 Aug 2025 11:35:09 +0200 Subject: [PATCH] chore: add basic site and Makefile targets --- Makefile | 8 +++++++- playbooks/site.yml | 22 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7b4ca3e..66ba5e1 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,8 @@ install: - ansible-galaxy collection install -r requirements.yml -p collections \ No newline at end of file + ansible-galaxy collection install -r requirements.yml -p collections + +run-site: + ansible-playbook -i inventories/prod/hosts.ini playbooks/site.yml + +run-site-dev: + ansible-playbook -i inventories/dev/hosts.ini playbooks/site.yml \ No newline at end of file diff --git a/playbooks/site.yml b/playbooks/site.yml index e69de29..8a20510 100644 --- a/playbooks/site.yml +++ b/playbooks/site.yml @@ -0,0 +1,22 @@ +--- +- name: Apply base configuration to all servers + hosts: all_servers + become: yes + roles: + - digitalboard.core.base + +- name: Configure reverse proxy servers + hosts: reverseproxy_servers + become: yes + roles: + - digitalboard.core.reverseproxy + +- name: Configure Forgejo servers + hosts: forgejo_servers + become: yes + roles: + +- name: Configure Nextcloud servers + hosts: nextcloud_servers + become: yes + roles: