Skip to content

Commit

Permalink
Minor improvements to role var (#142)
Browse files Browse the repository at this point in the history
* Made more idiomatic
* Documented
  • Loading branch information
freemanjp committed Nov 12, 2018
1 parent e61c3da commit 1f8c9f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vars/main.yml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 1f8c9f7

Please sign in to comment.