Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaywink/ansible-huginn
Ansible Huginn role with Docker
https://github.com/jaywink/ansible-huginn
ansible automation docker huginn iftt zapier
Last synced: 20 days ago
JSON representation
Ansible Huginn role with Docker
- Host: GitHub
- URL: https://github.com/jaywink/ansible-huginn
- Owner: jaywink
- License: mit
- Created: 2017-09-24T18:54:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-07T20:00:56.000Z (almost 2 years ago)
- Last Synced: 2024-10-06T21:42:10.529Z (about 1 month ago)
- Topics: ansible, automation, docker, huginn, iftt, zapier
- Language: Dockerfile
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Ansible role - Huginn with Docker
================================Run [Huginn](https://github.com/huginn/huginn) using Docker.
Requirements
------------Ansible 2.1+.
Install collections:
`ansible-galaxy collection install community.docker`
Role Variables
--------------You must set the following.
# Use this to register to Huginn
huginn_invitation_code: changeme!# Make sure this is unique, long and stored safe
huginn_secret: changeme!# Your domain where Huginn lives
huginn_domain: huginn.localOptional for customization (defaults given below):
# Enable to install apache to do reverse proxy, otherwise
# some Traefik labels will be exposed on the container or
# you can do your own reverse proxying to 3000 port on the
# container
huginn_apache: false
# Set to true to enable using for example the Shell Agent
huginn_enable_insecure_agents: 'false'# You can disable HTTPS if SSL is terminated at the reverse proxy
huginn_https: true
# Use a custom docker image
huginn_image: huginn/huginn# Email from
huginn_mail_from: [email protected]# Mysql data location
huginn_mysql_path: /opt/huginn/mysql# SMTP settings
huginn_smtp_domain: your-domain-here.com
huginn_smtp_password: somepassword
huginn_smtp_port: 587
huginn_smtp_server: smtp.domain.tld
huginn_smtp_username: [email protected]# Timezone
huginn_timezone: Helsinki# Twitter integration
huginn_twitter_key:
huginn_twitter_secret:Dependencies
------------Docker is required on the target host.
Depends on the following role if you use Apache2 (`huginn_apache: true`):
* `jaywink.letsencrypt`
You MUST set a valid email for the LetsEncrypt cert in your playbook.
Example to include in playbook `roles`:
- role: jaywink.letsencrypt
vars:
letsencrypt_pause_services: ["apache2"]
letsencrypt_domain: "{{ huginn_domain }}"
letsencrypt_request_www: false
letsencrypt_force_renew: false
letsencrypt_email: [email protected]Example Playbook
-------------------
- hosts: myhost
become: yes
become_user: rootvars:
huginn_domain: huginn.example.com
huginn_invitation_code: changeme!
huginn_secret: changeme!roles:
- huginn
Dockerfile
----------There is also a custom dockerfile that adds some utilities to the Huginn
image, currently `wget` and `curl`. You can find the images at
https://hub.docker.com/r/jaywink/huginnLicense
-------MIT
Author Information
------------------Jason Robinson / https://jasonrobinson.me / `@jaywink:federator.dev`