29 lines
709 B
YAML
29 lines
709 B
YAML
---
|
|
- name: Install terminator (Archlinux)
|
|
become: true
|
|
community.general.pacman:
|
|
name:
|
|
- terminator
|
|
when: ansible_facts['distribution'] == 'Archlinux'
|
|
|
|
- name: Install terminator (Debian)
|
|
become: true
|
|
ansible.builtin.apt:
|
|
name:
|
|
- terminator
|
|
when: ansible_facts['distribution'] == 'Debian'
|
|
|
|
- name: Create needed directories
|
|
ansible.builtin.file:
|
|
path: ~/.config/terminator
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: Copy terminator config
|
|
ansible.builtin.copy:
|
|
src: "{{ item.src }}"
|
|
dest: "{{ item.dest }}"
|
|
mode: 0644
|
|
with_items:
|
|
- {src: 'config', dest: '~/.config/terminator/config'}
|
|
- {src: 'profiles', dest: '~/.config/terminator/profiles'}
|