2022-06-19 10:38:23 +00:00
|
|
|
consul_client_addr: "0.0.0.0"
|
|
|
|
consul_datacenter: "homelab"
|
|
|
|
consul_backup_location: "/mnt/diskstation/git/backup/consul"
|
|
|
|
consul_ansible_group: all
|
2022-11-26 09:00:24 +00:00
|
|
|
consul_bootstrap_expect: 3
|
2023-10-21 13:24:58 +00:00
|
|
|
consul_systemd_resolved_enable: true
|
2022-11-27 08:31:41 +00:00
|
|
|
nomad_docker_allow_caps:
|
|
|
|
- NET_ADMIN
|
|
|
|
- NET_BROADCAST
|
|
|
|
- NET_RAW
|
2022-06-19 10:38:23 +00:00
|
|
|
nomad_vault_enabled: true
|
|
|
|
nomad_vault_address: "http://active.vault.service.consul:8200"
|
|
|
|
nomad_vault_role: "nomad-cluster"
|
|
|
|
nomad_vault_token: "{{ lookup('hashi_vault','secret=secrets/data/ansible/hashistack:nomad_vault_token') }}"
|
2022-11-26 09:00:24 +00:00
|
|
|
nomad_bootstrap_expect: 3
|
2022-06-19 10:38:23 +00:00
|
|
|
notification_mail: "{{inventory_hostname}}@{{ domain.name }}"
|
|
|
|
msmtp_mailhub: smtp.{{ domain.name }}
|
|
|
|
msmtp_auth_user: "{{ user.mail }}"
|
|
|
|
msmtp_auth_pass: "{{ lookup('hashi_vault','secret=secrets/data/ansible/other:email') }}"
|
|
|
|
|
|
|
|
system_user:
|
|
|
|
- name: drone-deploy
|
|
|
|
home: /home/drone-deploy
|
|
|
|
shell: /bin/bash
|
2023-01-15 13:39:10 +00:00
|
|
|
privatekey:
|
|
|
|
- keyname: id_gitea
|
|
|
|
key: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey:gitea')}}"
|
|
|
|
|
|
|
|
|
|
|
|
authorized_keys:
|
|
|
|
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDUaK+pQlosmopbZfucll9UdqDOTaODOBwoxRwkJEk1i drone@oscar
|
|
|
|
|
|
|
|
- name: ansible
|
|
|
|
home: /home/ansible
|
|
|
|
shell: /bin/bash
|
2022-06-19 10:38:23 +00:00
|
|
|
|
2023-01-15 13:39:10 +00:00
|
|
|
- name: root
|
|
|
|
home: /root
|
|
|
|
privatekey:
|
|
|
|
- keyname: id_gitea
|
|
|
|
key: "{{lookup('hashi_vault', 'secret=secrets/data/ansible/privatekey:gitea')}}"
|
2022-06-19 10:38:23 +00:00
|
|
|
|
|
|
|
|