Update to 2022-07-31 23:00

This commit is contained in:
Daniel Berteaud
2022-07-31 23:00:15 +02:00
parent 92b0844d15
commit f4a3f0bd22
3 changed files with 71 additions and 9 deletions

View File

@@ -16,10 +16,37 @@ nomad_user: "{{ nomad_client_enabled | ternary('root', 'nomad') }}"
# List of nomad servers (not clients !)
nomad_servers: []
# Should client be enabled
nomad_client_enabled: "{{ (inventory_hostname in nomad_servers) | ternary(False, True) }}"
# Should server be enabled
nomad_server_enabled: "{{ (inventory_hostname in nomad_servers) | ternary(True, False) }}"
# Client related settings
nomad_client:
# Should client be enabled
enabled: "{{ (inventory_hostname in nomad_servers) | ternary(False, True) }}"
# hostçvolumes:
# - name: mysql
# path: /data/mysql
# read_only: False
host_volumes: []
# Server related settings
nomad_server:
# Should server be enabled
enabled: "{{ (inventory_hostname in nomad_servers) | ternary(True, False) }}"
# Expected number of servers to bootstrap the cluster. The default is to wait for all the servers
# listed in nomad_servers to be ready, and then to do the bootstrap
bootstrap_expect: "{{ nomad_servers | length }}"
# Encryption key to use to encrypt inter-server communications
# You can generate one with nomad operator keygen command. It must be the same
# on all the servers of the cluster. If not defined (the default), the trafic will
# not be encrypted
# encrypt: NVlG6VKgsTbMim041S5nbWmmaQKS7YchV+9G3XxcZDs=
# ui related settings
nomad_ui:
enabled: True
# Consul and vault optional URL. This is just to add a shortcut in Nomad's UI
# consul_ui: https://consul.example.org
# vault_ui: https://vault.example.org
# Log level of the daemon
nomad_log_level: INFO