No description
| defaults | ||
| meta | ||
| tasks | ||
| .gitignore | ||
| README.md | ||
ansible-roles-influxdb
This role is designed to provide a basic influxdbql podman deployment
- https://www.influxdbql.org/
- https://hub.docker.com/_/influxdb/
- https://github.com/mrts/docker-influxdbql-multiple-databases
Task Configuration
- name: Setup influxdb
hosts: somehost
become: true
roles:
- role: influxdb
influxdb_db_name: somedatabase
influxdb_db_user someuser
influxdb_db_password somepassword
- role: firewalld
firewalld_add:
- name: public
ports:
- 5432/tcp
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-influxdb.service
Deploy
ansible-playbook -i hosts site.yml --tags=firewalld,influxdb --limit=somehost
Remove
ansible-playbook -i hosts site.yml --tags=firewalld,influxdb --extra-vars "container_state=absent firewall_action=remove" --limit=somehost