feat: provision ansible user with terraform #1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Terraform + Ansible setup for a self-hosted [Dokploy](https://dokploy.com/) instance.
|
Terraform + Ansible setup for a self-hosted [Dokploy](https://dokploy.com/) instance.
|
||||||
|
|
||||||
## Setup
|
## Terraform Setup
|
||||||
|
|
||||||
1. Create a Hetzner Cloud API key
|
1. Create a Hetzner Cloud API key
|
||||||
2. Create a Cloudflare DNS key with `Zone.DNS` edit permission
|
2. Create a Cloudflare DNS key with `Zone.DNS` edit permission
|
||||||
@@ -74,3 +74,10 @@ env:
|
|||||||
TF_VAR_cloudflare_api_token: ${{ secrets.TF_VAR_CLOUDFLARE_API_TOKEN }}
|
TF_VAR_cloudflare_api_token: ${{ secrets.TF_VAR_CLOUDFLARE_API_TOKEN }}
|
||||||
TF_VAR_domain_name: ${{ secrets.TF_VAR_DOMAIN_NAME }}
|
TF_VAR_domain_name: ${{ secrets.TF_VAR_DOMAIN_NAME }}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Ansible Setup
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
env:
|
||||||
|
ANSIBLE_SSH_KEY: ${{ secrets.ANSIBLE_SSH_KEY }}
|
||||||
|
```
|
||||||
Reference in new issue
Block a user