c7780d2d34
* improve nginx playbook * improve configure-vm script * improve initialise-vm script * expand config naming options * provide args docs * syntax fix * address rabbitai comments * cleanup ansible * document ansible changes * fix review comments * update scraed data * fix max comment review
40 lines
1.5 KiB
Plaintext
40 lines
1.5 KiB
Plaintext
[nym_nodes]
|
|
## READ CONFIGURATION GUIDE:
|
|
## https://nym.com/docs/operators/orchestration/ansible#configuration
|
|
|
|
##############
|
|
## TEMPLATE ##
|
|
##############
|
|
## uncomment and exchange the <VARIABLES> with your real values for each node without the <> brackets
|
|
|
|
# node1 ansible_host=<YOUR_SERVER_IP> ansible_user=<USER> hostname=<HOSTNAME> location=<LOCATION> email=<EMAIL> mode=<MODE> wireguard_enabled=<true/false> moniker=<MONIKER> description=<DESCRIPTION>
|
|
|
|
####################
|
|
## VARIABLES INFO ##
|
|
####################
|
|
|
|
## --REQUIRED VARS--
|
|
## required per node:
|
|
## ansible_host, hostname, location
|
|
|
|
## --OPTIONAL VARS--
|
|
## can be set in the group_vars/all.yml or per node here:
|
|
## email, ansible_user, moniker, description, mode, wireguard_enabled
|
|
|
|
## --PRIORITY ORDER--
|
|
## anything setup globaly can be overwritten in this file per node
|
|
## if provided here, it takes priority over the global setting
|
|
|
|
## --EXAMPLES--
|
|
## exit + wireguard gateway:
|
|
# node2 ansible_host=11.12.13.14 hostname=nym-exit.ch-1.mydomain.net mode=exit-gateway location=CH wireguard_enabled=true
|
|
|
|
## entry gateway, no wireguard:
|
|
# node3 ansible_host=12.13.14.15 hostname=nym-entry.ch-2.mydomain.net mode=entry-gateway location=CH wireguard_enabled=false
|
|
|
|
## mixnode (comment out tunnel+quic roles in deploy.yml for these)
|
|
# mix-de-1 ansible_host=13.14.15.16 hostname=nym-mix.de-1.example.net location=DE mode=mixnode wireguard_enabled=false
|
|
|
|
## NOTE:
|
|
## all examples above don't have defined user, email nor description as we use global vars from playbooks/group_vars/all.yml
|