2021-12-20 19:33:08 +01:00
|
|
|
---
|
|
|
|
- name: Create config directory
|
|
|
|
file:
|
|
|
|
path: ~/.config/anime-downloader
|
|
|
|
state: directory
|
2022-03-05 09:13:46 +01:00
|
|
|
mode: 0755
|
2021-12-20 19:33:08 +01:00
|
|
|
|
|
|
|
- name: Copy config
|
|
|
|
copy:
|
|
|
|
src: config.json
|
|
|
|
dest: ~/.config/anime-downloader/config.json
|
|
|
|
force: yes
|
2022-03-05 09:13:46 +01:00
|
|
|
mode: 0644
|
2021-12-20 19:33:08 +01:00
|
|
|
|
|
|
|
- name: Install anime-downloader with pip
|
|
|
|
pip:
|
2022-05-14 21:54:01 +02:00
|
|
|
name: git+https://github.com/anime-dl/anime-downloader.git
|
2021-12-20 19:33:08 +01:00
|
|
|
virtualenv: ~/.config/anime-downloader/venv
|
2022-05-14 21:54:01 +02:00
|
|
|
state: latest
|
2021-12-20 19:33:08 +01:00
|
|
|
|
|
|
|
- name: Symlink anime executable
|
|
|
|
file:
|
|
|
|
src: ~/.config/anime-downloader/venv/bin/anime
|
|
|
|
dest: ~/.local/bin/anime
|
|
|
|
state: link
|