diff --git a/tasks/prompt.yml b/tasks/prompt.yml index 7103ff6..e2b6b76 100644 --- a/tasks/prompt.yml +++ b/tasks/prompt.yml @@ -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 }}