linux-config/roles/ncspot_user/tasks/main.yml

18 lines
381 B
YAML
Raw Normal View History

---
- name: Installing ncspot (Spotify)
2021-12-20 10:28:43 +00:00
ansible.builtin.include_role:
name: gh_release_bin
vars:
name: ncspot
repo: hrkfdn/ncspot
bin_path: "/ncspot"
filter: linux-x86_64.tar.gz
2021-12-20 10:28:43 +00:00
- name: Setting up ncspot alias (spot)
ansible.builtin.lineinfile:
line: alias spot=ncspot
state: present
path: ~/.shellconfig/aliases.sh
insertafter: EOF