From 25b3510fef720bcdf94b1f479fc5606bdc861485 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 12 May 2019 09:39:46 +0200 Subject: [PATCH] Fix: remove register prompt place and improve names --- tasks/prompt.yml | 4 ++-- tasks/users.yml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tasks/prompt.yml b/tasks/prompt.yml index b1b1cc6..9494e83 100644 --- a/tasks/prompt.yml +++ b/tasks/prompt.yml @@ -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 diff --git a/tasks/users.yml b/tasks/users.yml index 4b5c049..05538d7 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -1,8 +1,4 @@ --- -- name: Register prompt place - shell: which {{ prompt }} - register: prompt_place - - name: Add deploy users user: name: "{{ item.username }}"