-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_setup.yaml
27 lines (24 loc) · 916 Bytes
/
app_setup.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
- name: Pull {{docker_registry}}/{{item.image}}
docker_image:
name: "{{docker_registry}}/{{item.image}}"
source: pull
force_source: true
become_user: "{{custom_username}}"
tags: [ docker, pull ]
- name: Run {{item.image}} with rocker to generate cache and speed up first run
shell: rocker --x11 --user {{item.rocker_args}} {{docker_registry}}/{{item.image}} echo First run of app container
become_user: "{{custom_username}}"
tags: [ docker, rocker ]
- name: Copy '{{ item.name }}.desktop'
template:
src: converging.desktop
dest: "{{ custom_desktop }}/{{ item.name }}.desktop"
owner: "{{custom_username}}"
group: users
mode: "0744"
force: no
tags: [ desktop ]
- name: Make '{{ item.name }}.desktop' Trusted
shell: gio set "{{ custom_desktop }}/{{ item.name }}.desktop" "metadata::trusted" true
become_user: "{{custom_username}}"
tags: [ desktop, trusted ]