-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdesktop.yml
38 lines (33 loc) · 866 Bytes
/
desktop.yml
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
28
29
30
31
32
33
34
35
36
37
38
# This playbook is for getting things which
# are useful on the graphical desktop.
---
- name: Desktop setup
hosts: localhost
pre_tasks:
- name: Install desktop tools
include_role:
name: tools
tasks_from: rpm
vars:
rpms: "{{ desktop_packages }}"
- name: Install rofi from CORP repository
dnf:
name: rofi
enablerepo: yaroslav/i3desktop
state: present
become: yes
- name: Setup desktop files in /home folder
include_role:
name: tools
tasks_from: file
vars:
files_src: "home/desktop/"
files_dst: "{{ ansible_env.HOME }}"
- name: Download avatar image
include_role:
name: tools
tasks_from: download
vars:
urls: "{{ desktop_downloads }}"
roles:
- { role: cmprescott.chrome, become: yes }