Add distrobox role for Debian
This commit is contained in:
15
roles/distrobox/tasks/main.yaml
Normal file
15
roles/distrobox/tasks/main.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: install apt package
|
||||
when: ansible_distribution == "Debian" and
|
||||
ansible_distribution_version == "unstable"
|
||||
become: true
|
||||
apt:
|
||||
name: distrobox
|
||||
state: latest
|
||||
|
||||
- name: install distrobox zsh completions
|
||||
when: ansible_distribution == "Debian" and
|
||||
ansible_distribution_version == "unstable"
|
||||
copy:
|
||||
src: _distrobox
|
||||
dest: '{{ansible_env.HOME}}/.local/share/zsh/site-functions/_distrobox'
|
||||
Reference in New Issue
Block a user