From 3e8c0e35d40d5a47a7e84e75979e17820dee8f76 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 26 Oct 2020 17:10:27 +0100 Subject: don't use main.yml inside group_vars --- inventory/group_vars/all/vars.yml | 62 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 inventory/group_vars/all/vars.yml (limited to 'inventory/group_vars/all/vars.yml') diff --git a/inventory/group_vars/all/vars.yml b/inventory/group_vars/all/vars.yml new file mode 100644 index 00000000..540c4a3e --- /dev/null +++ b/inventory/group_vars/all/vars.yml @@ -0,0 +1,62 @@ +--- +# Build-related directories +global_artifacts_dir: "{{ inventory_dir }}/../artifacts" +global_cache_dir: "{{ inventory_dir }}/../.cache" + +# Directory for static assets +global_files_dir: "{{ inventory_dir }}/../files" + + +ssh_users_root: + - equinox +ssh_keys_root: "{{ ssh_users_root | default([]) | map('extract', users) | map(attribute='ssh') | flatten | list }}" +ssh_keys_root_extra: [] + +admin_users_host: [] +sshd_allowusers_host: "{{ admin_users_host }}" + +admin_users_group: [] +sshd_allowusers_group: "{{ admin_users_group }}" + + +apt_repo_provider: default +apt_repo_providers: + default: + debian: + host: deb.debian.org + path: /debian + debian_security: + host: deb.debian.org + path: /debian-security + debian_archive: + host: archive.debian.org + path: /debian + ubuntu: + host: archive.ubuntu.com + path: /ubuntu + hetzner: + debian: + host: mirror.hetzner.de + path: /debian/packages + debian_security: + host: mirror.hetzner.de + path: /debian/security + debian_archive: + host: archive.debian.org + path: /debian + ubuntu: + host: mirror.hetzner.de + path: /ubuntu/packages + ffgraz: + debian: + host: debian.ffgraz.net + path: /debian + debian_security: + host: debian.ffgraz.net + path: /debian-security + debian_archive: + host: debian.ffgraz.net + path: /archive + ubuntu: + host: debian.ffgraz.net + path: /ubuntu -- cgit v1.2.3