Ansible_workstation/tasks/prompt.yml

18 lines
281 B
YAML

---
- name: Install prompt
pacman:
name: "{{ prompt }}"
state: present
- name: Register prompt place
shell: which {{ prompt }}
register: prompt_place
- name: Set shell for root
user:
name: root
shell: "{{ prompt_place }}"
tags:
- first_deployement