You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+61-5Lines changed: 61 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The role defines most of its variables in `defaults/main.yml`:
48
48
### `nomad_version`
49
49
50
50
- Nomad version to install
51
-
- Default value: **0.12.0**
51
+
- Default value: **1.1.1**
52
52
53
53
### `nomad_architecture_map`
54
54
@@ -339,6 +339,22 @@ nomad_host_volumes:
339
339
read_only: false
340
340
```
341
341
342
+
### `nomad_host_networks`
343
+
344
+
- List host_network is used to make different networks available to jobs instead of selecting a default interface. This is very useful especially in case of multiple nics.
345
+
- Default value: **[]**
346
+
- Example:
347
+
348
+
```yaml
349
+
nomad_host_networks:
350
+
- name: public
351
+
cidr: 100.101.102.103/24
352
+
reserved_ports: 22,80
353
+
- name: private
354
+
interface: eth0
355
+
reserved_ports: 443
356
+
```
357
+
342
358
### `nomad_options`
343
359
344
360
- Driver options
@@ -392,6 +408,11 @@ nomad_host_volumes:
392
408
- Installs the podman plugin
393
409
- Default value: **false**
394
410
411
+
### `nomad_cni_enable`
412
+
413
+
- Installs the cni plugins
414
+
- Default value: **false**
415
+
395
416
### `nomad_docker_enable`
396
417
397
418
- Install Docker subsystem on nodes?
@@ -446,9 +467,29 @@ in many Ansible versions, so this feature might not always work.
446
467
447
468
### `nomad_consul_address`
448
469
449
-
- The address of your consul API, use it in combination with nomad_use_consul=True
470
+
- The address of your consul API, use it in combination with nomad_use_consul=True. If you want to use https, use `nomad_consul_ssl`. Do NOT append https.
450
471
- Default value: **localhost:8500**
451
472
473
+
### `nomad_consul_ssl`
474
+
475
+
- If `true` then uses https.
476
+
- Default value: **false**
477
+
478
+
### `nomad_consul_ca_file`
479
+
480
+
- Public key of consul CA, use in combination with `nomad_consul_cert_file` and `nomad_consul_key_file`.
481
+
- Default value: ""
482
+
483
+
### `nomad_consul_cert_file`
484
+
485
+
- The public key which can be used to access consul.
486
+
- Default value: ""
487
+
488
+
### `nomad_consul_key_file`
489
+
490
+
- The private key counterpart of `nomad_consul_cert_file`.
491
+
- Default value: ""
492
+
452
493
### `nomad_consul_servers_service_name`
453
494
454
495
- The name of the consul service for your nomad servers
@@ -564,20 +605,35 @@ in many Ansible versions, so this feature might not always work.
564
605
- Enable TLS
565
606
- Default value: false
566
607
608
+
### `nomad_tls_copy_keys`: false
609
+
610
+
- Whether to copy certs from local machine (controller).
611
+
- Default value: false
612
+
613
+
### `nomad_tls_files_remote_src`
614
+
615
+
- Whether to copy certs from remote machine itself.
616
+
- Default value: false
617
+
618
+
### `nomad_tls_dir`
619
+
620
+
- The remote dir where the certs are stored.
621
+
- Default value: `/etc/nomad/ssl`
622
+
567
623
### `nomad_ca_file`
568
624
569
625
- Use a ca for tls connection, nomad_cert_file and nomad_key_file are needed
570
-
- Default value: **""**
626
+
- Default value: ca.cert
571
627
572
628
### `nomad_cert_file`
573
629
574
630
- Use a certificate for tls connection, nomad_ca_file and nomad_key_file are needed
575
-
- Default value: **""**
631
+
- Default value: server.crt
576
632
577
633
### `nomad_key_file`
578
634
579
635
- Use a key for tls connection, nomad_cert_file and nomad_key_file are needed
0 commit comments