Skip to content

Commit

Permalink
Create desktop file directory
Browse files Browse the repository at this point in the history
  • Loading branch information
henriklynggaard committed Apr 22, 2017
1 parent a965414 commit 0691b3c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Role Variables

pycharm_install_file: "pycharm-{{ pycharm_edition}}-{{ pycharm_version }}.tar.gz"
pycharm_download_url: "{{ pycharm_download_mirror }}{{ pycharm_install_file }}"
pycharm_location: "{{ pycharm_install_directory }}/pycharm-{{ pycharm_edition }}-{{ pycharm_version }}"
pycharm_desktop_file_location: "{{ ansible_env['HOME'] }}/.local/share/applications/pycharm-{{ pycharm_edition }}-{{ pycharm_version }}.desktop"
pycharm_desktop_file_directory: "{{ ansible_env['HOME'] }}/.local/share/applications"
pycharm_desktop_file_location: "{{ pycharm_desktop_file_directory }}//pycharm-{{ pycharm_edition }}-{{ pycharm_version }}.desktop"


pycharm_plugins is a list of names which get appended to pycharm_plugin_download_mirror to form a full download
Expand Down Expand Up @@ -78,4 +78,5 @@ MIT
Change log
----------

* 1.1: Create the desktop file directory in case we are the first
* 1.0: Initial version
3 changes: 2 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ pycharm_install_directory: "{{ ansible_env['HOME'] }}/Tools"
pycharm_install_file: "pycharm-{{ pycharm_edition}}-{{ pycharm_version }}.tar.gz"
pycharm_download_url: "{{ pycharm_download_mirror }}{{ pycharm_install_file }}"
pycharm_location: "{{ pycharm_install_directory }}/pycharm-{{ pycharm_edition }}-{{ pycharm_version }}"
pycharm_desktop_file_location: "{{ ansible_env['HOME'] }}/.local/share/applications/pycharm-{{ pycharm_edition }}-{{ pycharm_version }}.desktop"
pycharm_desktop_file_directory: "{{ ansible_env['HOME'] }}/.local/share/applications"
pycharm_desktop_file_location: "{{ pycharm_desktop_file_directory }}//pycharm-{{ pycharm_edition }}-{{ pycharm_version }}.desktop"

1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
with_items:
- "{{ pycharm_download_directory }}"
- "{{ pycharm_install_directory }}"
- "{{ pycharm_desktop_file_directory }}"

- name: Download PyCharm
get_url:
Expand Down

0 comments on commit 0691b3c

Please sign in to comment.