chore: add basic site and Makefile targets
This commit is contained in:
parent
1c31a584dc
commit
95568b74f7
2 changed files with 29 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -1,2 +1,8 @@
|
|||
install:
|
||||
ansible-galaxy collection install -r requirements.yml -p collections
|
||||
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
|
||||
|
|
@ -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:
|
||||
Loading…
Add table
Add a link
Reference in a new issue