Skip to content

Commit

Permalink
Update codeserver.yml
Browse files Browse the repository at this point in the history
add code-server files outside of role (to package in galaxy easier)
  • Loading branch information
IPvSean committed Jun 15, 2021
1 parent 2cd3b94 commit 28c1376
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/code_server/tasks/codeserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@
dest: "/home/{{username}}/.local/share/code-server/User/settings.json"
owner: "{{username}}"

- name: Create a directory if it does not exist
ansible.builtin.file:
path: /home/{{ username }}/.local/share/code-server/extensions/
state: directory
owner: "{{ username }}"
group: "{{ username }}"

- name: Download files for vscode
get_url:
url: "{{ item }}"
Expand Down

0 comments on commit 28c1376

Please sign in to comment.