[TIDY] Move to ansible_facts dict instead of injected variables
This commit is contained in:
parent
9f0226856e
commit
36455b7f76
18 changed files with 69 additions and 69 deletions
|
|
@ -33,13 +33,13 @@
|
|||
# - graphviz
|
||||
- name: VSCode - Basics - Create settings directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_user_dir }}/Library/Application Support/Code/User"
|
||||
path: "{{ ansible_facts['user_dir'] }}/Library/Application Support/Code/User"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
- name: VSCode - Basics - Copy global settings
|
||||
ansible.builtin.copy:
|
||||
src: "{{ role_path }}/files/vscode-settings.json"
|
||||
dest: "{{ ansible_user_dir }}/Library/Application Support/Code/User/settings.json"
|
||||
dest: "{{ ansible_facts['user_dir'] }}/Library/Application Support/Code/User/settings.json"
|
||||
mode: "0644"
|
||||
|
||||
# Dev Env - C/C++ Development Tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue