diff --git a/ansible/group_vars/all/globals b/ansible/group_vars/all/globals index 3f318cbb0..a71e2839f 100644 --- a/ansible/group_vars/all/globals +++ b/ansible/group_vars/all/globals @@ -2,16 +2,22 @@ # Kayobe global configuration. ############################################################################### -# Miscellaneous configuration. +# Path configuration. # Path to Kayobe configuration directory. kayobe_config_path: "{{ lookup('env', 'KAYOBE_CONFIG_PATH') | default('/etc/kayobe') }}" +# Path in which to store data locally. +base_path: "/opt/kayobe" + # Path in which to cache downloaded images. -image_cache_path: "{{ ansible_user_dir ~ '/kayobe-image-cache' }}" +image_cache_path: "{{ base_path ~ '/images' }}" # Path on which to checkout source code repositories. -source_checkout_path: "{{ ansible_user_dir ~ '/kayobe-source' }}" +source_checkout_path: "{{ base_path ~ '/src' }}" + +############################################################################### +# User configuration. # User with which to access seed and controller nodes. This user will be # created if it does not exist. diff --git a/etc/kayobe/globals.yml b/etc/kayobe/globals.yml index 57aea0052..9c6f0dc13 100644 --- a/etc/kayobe/globals.yml +++ b/etc/kayobe/globals.yml @@ -2,17 +2,23 @@ # Kayobe global configuration. ############################################################################### -# Miscellaneous configuration. +# Path configuration. # Path to Kayobe configuration. #kayobe_config_path: +# Path in which to store data locally. +#base_path: + # Path in which to cache downloaded images. #image_cache_path: # Path on which to checkout source code repositories. #source_checkout_path: +############################################################################### +# User configuration. + # User with which to access seed and controller nodes. This user will be # created if it does not exist. #kayobe_ansible_user: