Fix: remove register prompt place and improve names

This commit is contained in:
Bertrand Benjamin 2019-05-12 09:39:46 +02:00
parent 4a7e18ef03
commit 25b3510fef
2 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,11 @@
---
- name: Install prompt
- name: Install prompt (Archlinux)
pacman:
name: "{{ prompt }}"
state: present
when: ansible_distribution != 'Debian'
- name: Install prompt
- name: Install prompt (Debian)
apt:
name: "{{ prompt }}"
state: present

View File

@ -1,8 +1,4 @@
---
- name: Register prompt place
shell: which {{ prompt }}
register: prompt_place
- name: Add deploy users
user:
name: "{{ item.username }}"