1
0
mirror of https://github.com/gjkcz/ansible-void.git synced 2024-12-22 11:16:39 +01:00

Crate role for Bakaláři

This commit is contained in:
Emil Miler 2024-12-04 11:09:44 +01:00
parent 78f53019c5
commit f76fcf2cc9
5 changed files with 28 additions and 4 deletions

View File

@ -0,0 +1,4 @@
bakalari_desktop_src: bakalari.desktop
bakalari_desktop_dest: /usr/share/applications/bakalari.desktop
bakalari_icon_src: bakalari.png
bakalari_icon_dest: /usr/share/icons/bakalari.png

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -0,0 +1,21 @@
- name: Ensure the applications directory exists
file:
path: /usr/share/applications
state: directory
- name: Ensure the icons directory exists
file:
path: /usr/share/icons
state: directory
- name: Copy Bakaláři desktop shortcut
copy:
src: bakalari.desktop
dest: /usr/share/applications/bakalari.desktop
mode: 0644
- name: Copy Bakaláři icon
copy:
src: bakalari.png
dest: /usr/share/icons/bakalari.png
mode: 0644

View File

@ -266,9 +266,8 @@
loop:
- "files/firefox/uBlock0@raymondhill.net.xpi"
- name: Bakaláři
hosts: teachers
tasks:
- name: Bakaláři
include_role:
name: bakalari
roles:
- bakalari