templier-ansible/roles/terminal/tasks/main.yml

28 lines
632 B
YAML

---
- name: Queries package manager for terminal installation
package:
name:
- xfce4-terminal
register: pkg_result
retries: 3
until: pkg_result is succeeded
- name: Create xfce4 terminal config directory
file:
path: '.config/xfce4/terminal/'
state: directory
owner: '{{ user.name }}'
group: '{{ user.name }}'
mode: 0700
become_user: '{{ user.name }}'
- name: Copy xfce4-terminal configuration file
template:
src: 'terminalrc.j2'
dest: '.config/xfce4/terminal/terminalrc'
owner: '{{ user.name }}'
group: '{{ user.name }}'
mode: 0644
become_user: '{{ user.name }}'