X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=ansible%2Fgroup_vars%2Fall%2Fmain.yml;h=32a6b243fc6ac84768af5996a341e8ef5db4e647;hb=d15a9e06d1a1a1e893160906a5822309ec9e3380;hp=1301aef1998e25f343317faf22bbac7127a14b7e;hpb=60e83c4c6c86c727b96cf5a6135a6bb227535333;p=noc.git diff --git a/ansible/group_vars/all/main.yml b/ansible/group_vars/all/main.yml index 1301aef..32a6b24 100644 --- a/ansible/group_vars/all/main.yml +++ b/ansible/group_vars/all/main.yml @@ -1,10 +1,21 @@ --- # Build-related directories -global_cache_dir: "{{ inventory_dir }}/.cache/" -global_artifacts_dir: "{{ inventory_dir }}/files/" +global_artifacts_dir: "{{ inventory_dir }}/artifacts" +global_cache_dir: "{{ inventory_dir }}/.cache" + +# Directory for static assets +global_files_dir: "{{ inventory_dir }}/files" # Default credentials ## Root password; by default, undefined root_password: "{{ vault_root_password }}" ## SSH keys for root, default to NOC's -ssh_keys: "{{ noc_ssh_keys }}" + +ssh_users_root: "{{ user_groups.noc }}" +## TODO: make this a filter_plugin... +ssh_keys_root: "{{ ssh_users_root | map('extract', users) | map(attribute='ssh') | flatten | list }}" + +## TODO: not used at the moment? +noc_groups: + - adm + - sudo