Skip to content

Commit

Permalink
Make sure desktop dir exists
Browse files Browse the repository at this point in the history
  • Loading branch information
myurasov committed Dec 21, 2023
1 parent 321bb88 commit 65ac1a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ansible/roles/rdesktop/tasks/vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
shell: code --install-extension ms-vscode-remote.vscode-remote-extensionpack
become_user: "{{ ansible_user }}"

# make sure desktop directory exists
- name: Make sure desktop directory exists
file:
path: /home/{{ ansible_user }}/Desktop
state: directory
mode: 0755
owner: "{{ ansible_user }}"
group: "{{ ansible_user }}"

# create a desktop shortcut for visual studio code
- name: Create desktop shortcut for Visual Studio Code
copy:
Expand Down

0 comments on commit 65ac1a2

Please sign in to comment.