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: pacman:
name: "{{ prompt }}" name: "{{ prompt }}"
state: present state: present
when: ansible_distribution != 'Debian' when: ansible_distribution != 'Debian'
- name: Install prompt - name: Install prompt (Debian)
apt: apt:
name: "{{ prompt }}" name: "{{ prompt }}"
state: present state: present

View File

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