customize-xfce-anisble/playbook/roles/role-one/tasks/plank-dock.yml
Swapnil 336e7d08bf
Some checks failed
buildbot/travis_bionic Build done.
🎉 Created Playbook
2022-03-11 14:47:40 +05:30

112 lines
2.7 KiB
YAML

---
- name: Plank Dock | Install plank dock
apt:
name:
- plank
state: latest
- name: Plank Dock | Copy plank themes
copy:
src: /root/Downloads/WhiteSur-gtk-theme/src/other/plank/
dest: /root/.local/share/plank/themes/
remote_src: yes
- name: Plank Dock | Remove panel-2
xfconf:
channel: xfce4-panel
property: /panels
value_type: int
value: [1]
force_array: yes
- name: Plank Dock | Copy icons
copy:
src: /root/Downloads/update-xfce-bigsur/icons/launchpad.svg
dest: /root/.local/share/icons/
remote_src: yes
- name: Plank Dock | Ensure that plank_dock_launcher_path exists
file:
path: "{{ plank_dock_launcher_path }}"
state: directory
- name: Plank Dock | Remove all *.dockitem files
shell:
cmd: "rm -f {{ plank_dock_launcher_path }}/*.dockitem"
- name: Plank Dock | Add launchpad.dockitem to dock
template:
src: launchpad.dockitem
dest: "{{ plank_dock_launcher_path }}/launchpad.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add thunar.dockitem to dock
template:
src: thunar.dockitem
dest: "{{ plank_dock_launcher_path }}/thunar.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add org.xfce.Parole.dockitem to dock
template:
src: org.xfce.Parole.dockitem
dest: "{{ plank_dock_launcher_path }}/org.xfce.Parole.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add thunderbird.dockitem to dock
template:
src: thunderbird.dockitem
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add firefox.dockitem to dock
template:
src: firefox.dockitem
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
template:
src: xfce4-terminal.dockitem
dest: "{{ plank_dock_launcher_path }}/xfce4-terminal.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add mate-calc.dockitem to dock
template:
src: mate-calc.dockitem
dest: "{{ plank_dock_launcher_path }}/mate-calc.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add desktop.dockitem to dock
template:
src: desktop.dockitem
dest: "{{ plank_dock_launcher_path }}/desktop.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Add trash.dockitem to dock
template:
src: trash.dockitem
dest: "{{ plank_dock_launcher_path }}/trash.dockitem"
owner: root
mode: '0644'
- name: Plank Dock | Ensure autostart directory exists
file:
path: "{{ autostart_path }}"
state: directory
- name: Plank Dock | Add plank to autostart
template:
src: plank.desktop
dest: "{{ autostart_path }}/plank.desktop"
owner: root
mode: '0644'