Ansible role for installing plank and performing basic setup and configuration.
Poetry. Install it from https://python-poetry.org/docs/
config_owner:
String (mandatory) to specify the Linux user that should have plank setup for them.
Default: "{{ ansible_user_id }}"
config_owner_primary_group:
String (optional) to specify the group ownership for the plank setup.
Default: "{{ config_owner }}"
plank_dock_items:
List (mandatory) to specify which applications to add to the plank launcher.
More variables (optional) are found in defaults/main.yml, and the rest of them are used with the plankrc.j2 template.
None
- hosts: all
vars:
config_owner: 'maya'
plank_dock_items:
- {name: 'atom', path: '/usr/share/applications/atom.desktop'}
- {name: 'chromium-browser', path: '/usr/share/applications/chromium-browser.desktop'}
- {name: 'keepassx2', path: '/usr/share/applications/keepassx2.desktop'}
- {name: 'lxterminal', path: '/usr/share/applications/lxterminal.desktop'}
- {name: 'nm-connection-editor', path: '/usr/share/applications/nm-connection-editor.desktop'}
- {name: 'pcmanfm', path: '/usr/share/applications/pcmanfm.desktop'}
roles:
- { role: avnes.ansible-role-plank }
poetry export --dev --output requirements.txt
poetry install
poetry shell
molecule test
MIT