No description
| defaults | ||
| meta | ||
| tasks | ||
| .gitignore | ||
| README.md | ||
ansible-roles-weblate
Task Configuration
- name: Setup n8n
hosts: somehost
become: true
roles:
- role: weblate
weblate_server_version: 5.12.2.3
weblate_site_domain: weblate.somehost
weblate_admin_email: weblate.admin@somehost
weblate_admin_password: xxx
weblate_database_password: xxx
- role: caddy
caddy_sites:
- name: weblate
url: weblate.somehost
srv: localhost:8811
- role: firewalld
firewalld_add:
- name: public
forwards:
- port: 80
to: 8080
- port: 443
to: 8443
- name: internal
forwards:
- port: 80
to: 8080
- port: 443
to: 8443
Deployment and Removal
Services are managed by user scope systemd
systemctl --user <..> container-caddy.service
systemctl --user <..> container-weblate.service
Logs are accessible via journalctl
journalctl -t weblate -f
Deploy
ansible-playbook -i hosts site.yml --tags=firewalld,caddy,weblate --limit=somehost
Remove
ansible-playbook -i hosts site.yml --tags=firewalld,caddy,weblate --extra-vars "container_state=absent firewall_action=remove" --limit=somehost