Post

Today my noodling with Semaphore UI continues. I can combine a webhook with an ansible playbook to automatically create things for me. E.g, I could create the btrfs subvolume, the mount it in the right place, configure DNS and forwarding proxy to the container... But how do I kick that off?

The issue, of course, is that storage needs to exist before the container. So I need a process in which I can trigger the webhook with the variable I require and only *then* define my container.

I could just define all this in the Ansible repo, then trigger the webhook on commit (either direct from github, or just a script I manually fire myself). This does mean that I'll need to take a look at how to interact with portainer - my tool of choice of bringing my applications online.

0 reposts0 likes

No replies yet.