1
0
Fork 0
Commit Graph

3 Commits (0c2c045fd2a9466fe6b0d9689b3a7b9bbf034408)

Author SHA1 Message Date
Dustin 34dbcdece6 host/online: Start Ansible job to provision host
The _POST /host/online_ webhook now creates a Kubernetes Job to run the
host provisioner.  The Job resource is defined in a YAML document, and
will be created in the Kubernetes namespace specified by the
`ANSIBLE_JOB_NAMESPACE` environment variable (defaults to `ansible`).
2025-02-08 11:42:26 -06:00
Dustin 361f334908 host/online: Begin host provisioning feature
When a new machine is provisioned, it will trigger the _POST
/host/online_ webhook, indicating that it is online and ready to be
provisioned via configuration policy.  It submits its hostname and SSH
public keys so the Ansible controller can connect to it.  This
information is passed to the controller via an AMQP message, published
to a queue which the controller will consume in order to being
provisioning.

The controller itself will eventually be scheduled as a Kubernetes Job.
2025-02-08 11:28:56 -06:00
Dustin 0416a77901 Initial commit 2023-06-13 16:06:32 -05:00