No description
| defaults | ||
| meta | ||
| tasks | ||
| .gitignore | ||
| README.md | ||
ansible-roles-zitadel
Task Configuration
Deployment Example
- name: Setup proxy and service
hosts: somehost
become: true
roles:
- role: zitadel
zitadel_url: zitadel.somehost.somewhere
zitadel_superuser_name: admin
zitadel_superuser_email: admin@somehost.somewhere
zitadel_plugin_gather_static: true
zitadel_email_server: mail.somehost.somewhere
zitadel_email_from: zitadel@somehost.somewhere
zitadel_email_username: zitadel@somehost.somewhere
- role: traefik
traefik_routes:
- name: uptime
host: "{{ portainer_url }}"
srv: "{{ traefik_host_address }}:9000"
- role: firewalld
firewalld_add:
- name: public
services:
- http
- https
forwards:
- port: 80
to: 8080
- port: 443
to: 8443
Deployment and Removal
Sometimes you need to manually stop the running containers to get a clean run when re-deploying Services must be stopped as the respecitve user or another means to aquire the correct user scope for systemd
systemctl --user stop container-traefik.service
systemctl --user stop container-zitadel.service
Deploy
ansible-playbook -i hosts site.yml --tags=firewalld,traefik,zitadel --limit=somehost
Remove
ansible-playbook -i hosts site.yml --tags=firewalld,traefik,zitadel --extra-vars "container_state=absent firewall_action=remove" --limit=somehost