-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
143 lines (117 loc) · 4.71 KB
/
local.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
- hosts: localhost
tags: always
become: true
pre_tasks:
- name: pre-run | update package cache (arch)
tags: always
pacman: update_cache=yes
changed_when: False
when: ansible_distribution == "Archlinux"
- name: pre-run | update package cache (fedora)
tags: always
dnf: update_cache=yes
changed_when: False
when: ansible_distribution == "Fedora"
- name: pre-run | update package cache (debian, etc)
tags: always
apt: update_cache=yes
changed_when: False
when: ansible_distribution in ["Debian", "Ubuntu"]
- hosts: localhost # running the playbook against the host machine
connection: local #use local connection -> no ssh
become: true # using sudo
tasks:
## Including the variables which might be distribution specific
- name: Including distribution specific variables
include_vars: "{{ ansible_distribution }}.yml"
tags: always
## Including the workstation variables
- name: Including workstation specific variables
include_vars: "workstation.yml"
tags: always,workstation
## User configs
- import_tasks: tasks/users/mose.yml
## Installing python (needed for setup)
- import_tasks: tasks/software/python.yml
## desktop environments
### Gnome
- include_tasks: tasks/desktop_environments/gnome/appearance.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/keybindings.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/nautilus.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/peripherals.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/power.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/shell-settings.yml
tags: always
when: gnome is defined and gnome == true
- include_tasks: tasks/desktop_environments/gnome/terminal.yml
tags: always
when: gnome is defined and gnome == true
### awesome
- include_tasks: tasks/desktop_environments/awesome/config.yml
tags: always
when: awesome is defined and awesome == true
- include_tasks: tasks/desktop_environments/awesome/software.yml
tags: always
when: awesome is defined and awesome == true
### i3
- include_tasks: tasks/desktop_environments/i3/config.yml
tags: always
when: i3 is defined and i3 == true
- include_tasks: tasks/desktop_environments/i3/software.yml
tags: always
when: i3 is defined and i3 == true
### sway
- include_tasks: tasks/desktop_environments/sway/config.yml
tags: always
when: sway is defined and sway == true
- include_tasks: tasks/desktop_environments/sway/software.yml
tags: always
when: sway is defined and sway == true
## enable repositories
- import_tasks: tasks/system_setup/repositories.yml
## tuxedo setup
- import_tasks: tasks/system_setup/tuxedo_setup.yml
# Software installation
- import_tasks: tasks/software/codecs.yml
- import_tasks: tasks/software/lazygit.yml
- import_tasks: tasks/software/notion.yml
- import_tasks: tasks/software/package_utilities.yml
- import_tasks: tasks/software/virtualbox.yml
- import_tasks: tasks/software/vscode.yml
## add flatpak support and flathub remote
- import_tasks: tasks/software/flatpak.yml
### installing flatpak software
- import_tasks: tasks/software/anki.yml
- import_tasks: tasks/software/audacity.yml
- import_tasks: tasks/software/bitwarden.yml
- import_tasks: tasks/software/dbeaver.yml
- import_tasks: tasks/software/discord.yml
- import_tasks: tasks/software/ferdi.yml
- import_tasks: tasks/software/gnome_power_statistics.yml
- import_tasks: tasks/software/pavucontrol.yml
- import_tasks: tasks/software/slack.yml
- import_tasks: tasks/software/signal.yml
- import_tasks: tasks/software/spotify.yml
- import_tasks: tasks/software/synology.yml
- import_tasks: tasks/software/thunderbird.yml
- import_tasks: tasks/software/vlc.yml
- import_tasks: tasks/software/zoom.yml
- import_tasks: tasks/software/alacritty.yml
- import_tasks: tasks/software/moneydance.yml
- import_tasks: tasks/software/polybar.yml
- import_tasks: tasks/software/rambox.yml
- import_tasks: tasks/software/ranger.yml
- import_tasks: tasks/software/syncthing.yml
- import_tasks: tasks/software/urxvt.yml
- import_tasks: tasks/software/zsh.yml