moved block to other role
This commit is contained in:
parent
23dc4bfe93
commit
08d1bccace
2 changed files with 27 additions and 26 deletions
|
@ -129,32 +129,6 @@
|
|||
AllowSuspendThenHibernate=no
|
||||
AllowHybridSleep=no
|
||||
|
||||
- name: Create directory for local .desktop-Files
|
||||
ansible.builtin.file:
|
||||
path: "{ item }"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
loop:
|
||||
- /usr/local/share/applications
|
||||
- /usr/local/share/desktop-directories
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: Copy fvs.directory
|
||||
ansible.builtin.copy:
|
||||
src: fvs.directory
|
||||
dest: /usr/local/share/desktop-directories/
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: Copy fvs.menu
|
||||
ansible.builtin.copy:
|
||||
src: fvs.menu
|
||||
dest: /etc/xdg/menus/applications-merged/
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: Run sync-vm.sh
|
||||
command: sync-vm.sh -t
|
||||
## FIXME: do not run every time
|
||||
|
||||
################# general settings ##################
|
||||
- name: Protect grub menu entries
|
||||
blockinfile:
|
||||
|
|
|
@ -136,6 +136,33 @@
|
|||
src: pulseaudio-override.conf
|
||||
dest: /etc/systemd/user/pulseaudio.service.d/override.conf
|
||||
|
||||
- name: Create directory for local .desktop-Files
|
||||
ansible.builtin.file:
|
||||
path: "{ item }"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
loop:
|
||||
- /usr/local/share/applications
|
||||
- /usr/local/share/desktop-directories
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: Copy fvs.directory
|
||||
ansible.builtin.copy:
|
||||
src: fvs.directory
|
||||
dest: /usr/local/share/desktop-directories/
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: Copy fvs.menu
|
||||
ansible.builtin.copy:
|
||||
src: fvs.menu
|
||||
dest: /etc/xdg/menus/applications-merged/
|
||||
notify: update-desktop-database
|
||||
|
||||
- name: sync .torrent, .xml and .desktop files and run update-desktop-database
|
||||
command: sync-vm.sh -t
|
||||
register: result
|
||||
changed_when: result.stdout | length > 0
|
||||
|
||||
#### VMs
|
||||
- name: deploy initial image list
|
||||
copy:
|
||||
|
|
Loading…
Add table
Reference in a new issue