Add CLI for chromecast.

This commit is contained in:
Tom Alexander 2024-07-06 18:05:55 -04:00
parent 5fe48c2587
commit ab572079ac
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 17 additions and 0 deletions

View File

@ -1,5 +1,22 @@
- name: Build aur packages
register: buildaur
become_user: "{{ build_user.name }}"
command: "aurutils-sync --no-view {{ item }}"
args:
creates: "/var/cache/pacman/custom/{{ item }}-*.pkg.tar.*"
loop:
- go-chromecast-git
- name: Update cache
when: buildaur.changed
pacman:
name: []
state: present
update_cache: true
- name: Install packages
package:
name:
- yt-dlp
- go-chromecast-git
state: present