Deploy Nomad, Consul, and Vault using apt repo
This commit is contained in:
parent
f460f890da
commit
5583b2d38e
@ -4,10 +4,10 @@ roles:
|
||||
name: ansible-consul
|
||||
scm: git
|
||||
version: my-main
|
||||
- src: https://github.com/ansible-community/ansible-nomad.git
|
||||
- src: https://github.com/IamTheFij/ansible-nomad.git
|
||||
name: ansible-nomad
|
||||
scm: git
|
||||
version: master
|
||||
version: install-repo
|
||||
- src: https://github.com/ansible-community/ansible-vault.git
|
||||
name: ansible-vault
|
||||
scm: git
|
||||
|
@ -3,12 +3,14 @@
|
||||
hosts: consul_instances
|
||||
any_errors_fatal: true
|
||||
|
||||
vars_files:
|
||||
- consul_values.yml
|
||||
|
||||
roles:
|
||||
- role: ansible-consul
|
||||
vars:
|
||||
consul_version: "1.11.3"
|
||||
consul_version: "1.12.3-1"
|
||||
consul_install_upgrade: true
|
||||
# consul_install_remotely: true
|
||||
consul_install_from_repo: true
|
||||
consul_os_repo_prerequisites: []
|
||||
|
||||
@ -84,10 +86,10 @@
|
||||
roles:
|
||||
- name: ansible-vault
|
||||
vars:
|
||||
# Doesn't support multi-arch installs
|
||||
vault_version: 1.10.0
|
||||
vault_install_hashi_repo: true
|
||||
vault_bin_path: /usr/bin
|
||||
vault_harden_file_perms: true
|
||||
vault_bin_path: /usr/bin
|
||||
vault_address: 0.0.0.0
|
||||
|
||||
vault_backend: consul
|
||||
@ -249,16 +251,19 @@
|
||||
roles:
|
||||
- name: ansible-nomad
|
||||
vars:
|
||||
nomad_version: "1.3.1"
|
||||
nomad_version: "1.3.2-1"
|
||||
nomad_install_remotely: true
|
||||
nomad_install_upgrade: true
|
||||
nomad_allow_purge_config: true
|
||||
|
||||
# Where nomad gets installed to
|
||||
nomad_bin_dir: /usr/bin
|
||||
nomad_install_from_repo: true
|
||||
|
||||
nomad_user: root
|
||||
nomad_manage_user: true
|
||||
nomad_group: bin
|
||||
nomad_manage_group: true
|
||||
# nomad_user: root
|
||||
# nomad_manage_user: true
|
||||
# nomad_group: bin
|
||||
# nomad_manage_group: true
|
||||
|
||||
# Properly map install arch
|
||||
nomad_architecture_map:
|
||||
@ -283,6 +288,7 @@
|
||||
nomad_docker_dmsetup: false
|
||||
# nomad_podman_enable: true
|
||||
|
||||
# Merge shared host volumes with node volumes
|
||||
nomad_host_volumes: "{{ shared_host_volumes + (nomad_unique_host_volumes | default([])) }}"
|
||||
|
||||
# Customize docker plugin
|
||||
|
Loading…
Reference in New Issue
Block a user