Fix: remove register prompt place and improve names
This commit is contained in:
parent
4a7e18ef03
commit
25b3510fef
@ -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
|
||||||
|
@ -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 }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user