Copy the panel layout into $HOME

This commit is contained in:
Anthony Rose 2020-06-05 19:33:22 +01:00
parent de77bcb6d4
commit 990ee10ad6

View file

@ -1,12 +1,12 @@
---
- name: Create MATE layouts directory
file:
path: "{{ ansible_env.HOME }}/share/mate-panel/layouts"
path: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts"
state: directory
- name: Copy MATE panel layout
become: true
template:
src: mate-acp.layout
dest: "{{ ansible_env.HOME }}/share/mate-panel/layouts/acp.layout"
dest: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts/acp.layout"
vars:
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"