diff --git a/vars/main.yml b/vars/main.yml index a052096..e70c537 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,3 +1,3 @@ --- -# vars file for visual-studio-code -visual_studio_code_config_path: "{{ 'Library/Application Support' if ansible_distribution == 'MacOSX' else '.config' }}/Code" +# Directory under $HOME where where VS Code config is stored +visual_studio_code_config_path: "{{ (ansible_distribution == 'MacOSX') | ternary('Library/Application Support', '.config') }}/Code"