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 - name: Create MATE layouts directory
file: file:
path: "{{ ansible_env.HOME }}/share/mate-panel/layouts" path: "{{ ansible_env.HOME }}/.local/share/mate-panel/layouts"
state: directory state: directory
- name: Copy MATE panel layout - name: Copy MATE panel layout
become: true become: true
template: template:
src: mate-acp.layout 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: vars:
prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}" prefix: "{{ '/usr' if ansible_system == 'Linux' else '/usr/pkg' if ansible_system == 'NetBSD' else '/usr/local' }}"