clarify some docs
This commit is contained in:
parent
5d16c7781c
commit
69fcd2691e
2 changed files with 11 additions and 4 deletions
|
|
@ -14,6 +14,7 @@ Let's assume that you want to add a new web service `example.hamburg.ccc.de` whi
|
|||
1. Create a new VM, for example by cloning the Debian template 9023.
|
||||
Give it the name `example`.
|
||||
2. Edit the ethernet interface to be connected to `vmbr0`, VLAN tag `2`.
|
||||
Good $genders also enable the proxmox firewall.
|
||||
3. Configure the IPv6 address in the Cloud-Init section. Leave IPv4 set to DHCP.
|
||||
4. Make sure the VM is started at boot (options).
|
||||
5. Adjust any other VM parameters as needed.
|
||||
|
|
@ -54,6 +55,10 @@ As the first step, we need to make the host known to Ansible.
|
|||
2. A file `inventories/chaosknoten/host_var/example.sops.yaml` with the encrypted secrets for the host/service. Run `sops inventories/chaosknoten/host_var/example.yaml` to edit/create that file. Entries here should generally be prefixed with `secret__` to make it easier to see where that variable is coming from in templates etc.
|
||||
* Add an entry `ansible_pull__age_private_key` with the age private key you generated above.
|
||||
|
||||
## Ansible-Pull Configuration
|
||||
|
||||
Since you added your host to the `ansible_pull_hosts`, you also need to follow [Setting Up Secrets Using SOPS for a New Host](/docs/setting_up_secrets_using_sops_for_a_new_host.md) before continuing.
|
||||
|
||||
## Service-specific config
|
||||
|
||||
From here, we go into the details of the web service that you want to configure. For a typical web service with Docker Compose, you will likely want to configure the following.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue