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