introduce ssh_users_root
[noc.git] / ansible / group_vars / all / main.yml
1 ---
2 # Build-related directories
3 global_artifacts_dir: "{{ inventory_dir }}/artifacts"
4 global_cache_dir: "{{ inventory_dir }}/.cache"
5
6 # Directory for static assets
7 global_files_dir: "{{ inventory_dir }}/files"
8
9 # Default credentials
10 ## Root password; by default, undefined
11 root_password: "{{ vault_root_password }}"
12 ## SSH keys for root, default to NOC's
13
14 ssh_users_root: "{{ user_groups.noc }}"
15 ## TODO: make this a filter_plugin...
16 ssh_keys_root: "{{ ssh_users_root | map('extract', users) | map(attribute='ssh') | flatten | list }}"
17
18 ## TODO: not used at the moment?
19 noc_groups:
20   - adm
21   - sudo