Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ansible/roles/dev_tools/tasks/commands/act.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
- name: download act
ansible.builtin.get_url:
url: https://github.com/nektos/act/releases/download/{{ act_version }}/act_Linux_x86_64.tar.gz
dest: /tmp/act.tar.gz
# NOTE: the version is in the file name because get_url does not
# re-download when dest already exists
dest: /tmp/act-{{ act_version }}.tar.gz

- name: unarchive act
ansible.builtin.unarchive:
src: /tmp/act.tar.gz
src: /tmp/act-{{ act_version }}.tar.gz
dest: /tmp

- name: install act
Expand Down
6 changes: 4 additions & 2 deletions ansible/roles/dev_tools/tasks/commands/difft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
- name: download difftastic
ansible.builtin.get_url:
url: https://github.com/Wilfred/difftastic/releases/download/{{ difft_version }}/difft-x86_64-unknown-linux-gnu.tar.gz
dest: /tmp/difftastic.tar.gz
# NOTE: the version is in the file name because get_url does not
# re-download when dest already exists
dest: /tmp/difftastic-{{ difft_version }}.tar.gz

- name: install difftastic
ansible.builtin.unarchive:
src: /tmp/difftastic.tar.gz
src: /tmp/difftastic-{{ difft_version }}.tar.gz
# NOTE: only contains "difft" file
dest: "{{ lookup('env','HOME') }}/.local/bin/"

Expand Down
6 changes: 4 additions & 2 deletions ansible/roles/dev_tools/tasks/commands/ghq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
- name: download binary
ansible.builtin.get_url:
url: https://github.com/x-motemen/ghq/releases/download/{{ ghq_version }}/ghq_linux_amd64.zip
dest: /tmp/ghq_linux_amd64.zip
# NOTE: the version is in the file name because get_url does not
# re-download when dest already exists
dest: /tmp/ghq-{{ ghq_version }}.zip

- name: unarchive ghq
ansible.builtin.unarchive:
src: /tmp/ghq_linux_amd64.zip
src: /tmp/ghq-{{ ghq_version }}.zip
dest: /tmp/

- name: install binary
Expand Down
6 changes: 4 additions & 2 deletions ansible/roles/fonts/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,13 @@
- name: download Moralerspace zip file
ansible.builtin.get_url:
url: https://github.com/yuru7/moralerspace/releases/download/{{ moralerspace_version }}/MoralerspaceHW_{{ moralerspace_version }}.zip
dest: /tmp/MoralerspaceHW.zip
# NOTE: the version is in the file name because get_url does
# not re-download when dest already exists
dest: /tmp/MoralerspaceHW_{{ moralerspace_version }}.zip

- name: unarchive Moralerspace zip file
ansible.builtin.unarchive:
src: /tmp/MoralerspaceHW.zip
src: /tmp/MoralerspaceHW_{{ moralerspace_version }}.zip
dest: /usr/local/share/fonts/
include:
- MoralerspaceHW_{{ moralerspace_version }}/MoralerspaceNeonHW-Regular.ttf
Expand Down
Loading