mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
Update to 2023-09-14 17:00
This commit is contained in:
parent
1499342c59
commit
b47821acb1
5
roles/mkdir/handlers/main.yml
Normal file
5
roles/mkdir/handlers/main.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: restart journald
|
||||||
|
service: name=systemd-journald state=restarted
|
||||||
|
|
@ -1,5 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Install python-passlib
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- python-passlib
|
||||||
|
tags: nginx
|
||||||
|
|
||||||
- include_tasks: install_openresty.yml
|
- include_tasks: install_openresty.yml
|
||||||
when: nginx_openresty
|
when: nginx_openresty
|
||||||
tags: always
|
tags: always
|
||||||
|
@ -189,6 +189,8 @@ nomad_base_conf:
|
|||||||
service_scheduler_enabled: True
|
service_scheduler_enabled: True
|
||||||
sysbatch_scheduler_enabled: True
|
sysbatch_scheduler_enabled: True
|
||||||
|
|
||||||
|
# heartbeat_grace: 10m
|
||||||
|
|
||||||
|
|
||||||
# UI related settings
|
# UI related settings
|
||||||
ui:
|
ui:
|
||||||
|
@ -40,9 +40,6 @@ acl {
|
|||||||
server {
|
server {
|
||||||
enabled = {{ nomad_conf.server.enabled | ternary('true', 'false') }}
|
enabled = {{ nomad_conf.server.enabled | ternary('true', 'false') }}
|
||||||
bootstrap_expect = {{ nomad_conf.server.bootstrap_expect }}
|
bootstrap_expect = {{ nomad_conf.server.bootstrap_expect }}
|
||||||
{% if nomad_conf.server.encrypt is defined %}
|
|
||||||
encrypt = "{{ nomad_conf.server.encrypt }}"
|
|
||||||
{% endif %}
|
|
||||||
server_join {
|
server_join {
|
||||||
retry_join = [
|
retry_join = [
|
||||||
{% for server in nomad_servers %}
|
{% for server in nomad_servers %}
|
||||||
@ -50,9 +47,33 @@ server {
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
{% if nomad_conf.server.authoritative_region is defined %}
|
|
||||||
authoritative_region = "{{ nomad_conf.server.authoritative_region }}"
|
{% for setting in [
|
||||||
|
'authoritative_region',
|
||||||
|
'encrypt',
|
||||||
|
'node_gc_threshold',
|
||||||
|
'job_gc_interval',
|
||||||
|
'job_gc_threshold',
|
||||||
|
'eval_gc_threshold',
|
||||||
|
'batch_eval_gc_threshold',
|
||||||
|
'deployment_gc_threshold',
|
||||||
|
'csi_volume_claim_gc_interval',
|
||||||
|
'csi_volume_claim_gc_threshold',
|
||||||
|
'csi_plugin_gc_threshold',
|
||||||
|
'acl_token_gc_threshold',
|
||||||
|
'heartbeat_grace',
|
||||||
|
'min_heartbeat_ttl',
|
||||||
|
'failover_heartbeat_ttl',
|
||||||
|
'license_path',
|
||||||
|
'root_key_gc_interval',
|
||||||
|
'root_key_gc_threshold',
|
||||||
|
'root_key_rotation_threshold',
|
||||||
|
'job_max_source_size'
|
||||||
|
] %}
|
||||||
|
{% if nomad_conf.server[setting] is defined %}
|
||||||
|
{{ setting }} = "{{ nomad_conf.server[setting] }}"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
default_scheduler_config {
|
default_scheduler_config {
|
||||||
scheduler_algorithm = "{{ nomad_conf.server.default_scheduler_config.scheduler_algorithm }}"
|
scheduler_algorithm = "{{ nomad_conf.server.default_scheduler_config.scheduler_algorithm }}"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Version of Nomad to install
|
# Version of Nomad to install
|
||||||
nomad_version: 1.6.1
|
nomad_version: 1.6.2
|
||||||
# URL of the archive
|
# URL of the archive
|
||||||
nomad_archive_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip
|
nomad_archive_url: https://releases.hashicorp.com/nomad/{{ nomad_version }}/nomad_{{ nomad_version }}_linux_amd64.zip
|
||||||
# Expected sha256 of the archive
|
# Expected sha256 of the archive
|
||||||
nomad_archive_sha256: e4c01c51c393b266aee4ff184dd97704ae3d838c233a6189425a9f1c31a55f4f
|
nomad_archive_sha256: f6f879a359a667a6b1ca4366abd8383d89118dabd0d28af5bbc4721685ff17b8
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Version of Vault to install
|
# Version of Vault to install
|
||||||
vault_version: 1.14.2
|
vault_version: 1.14.3
|
||||||
# URL of the archive
|
# URL of the archive
|
||||||
vault_archive_url: https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_amd64.zip
|
vault_archive_url: https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_amd64.zip
|
||||||
# Expected sha256 of the archive
|
# Expected sha256 of the archive
|
||||||
vault_archive_sha256: 134a4b8d9473722b2d37d4677e8e5c7e18f5010f8866c4bbb84e2cef3daea532
|
vault_archive_sha256: 01e1698d2563cf4780438468f9f815eedf707e8ea01f87bb7621e24a00e21d12
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user