Fix: install prompt depend on os
This commit is contained in:
parent
99ac466afb
commit
4c6648b84c
@ -3,6 +3,13 @@
|
||||
pacman:
|
||||
name: "{{ prompt }}"
|
||||
state: present
|
||||
when: ansible_distribution != 'Debian'
|
||||
|
||||
- name: Install prompt
|
||||
apt:
|
||||
name: "{{ prompt }}"
|
||||
state: present
|
||||
when: ansible_distribution == 'Debian'
|
||||
|
||||
- name: Register prompt place
|
||||
shell: which {{ prompt }}
|
||||
|
Loading…
Reference in New Issue
Block a user