-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplaybook.yml
56 lines (44 loc) · 1.53 KB
/
playbook.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
# vi: ft=yaml.ansible
---
- name: Setup workstation
hosts: localhost
connection: local
tasks:
- name: Has chezmoi installed and configs inited
ansible.builtin.import_tasks: "./tasks/chezmoi.yml"
tags: [chezmoi]
- name: Set timezone to Europe/Moscow
tags: [system]
become: true
community.general.timezone:
name: Europe/Moscow
- name: Has required directories created
ansible.builtin.import_tasks: "./tasks/directories.yml"
- name: Has RPM Fusion enabled
ansible.builtin.import_tasks: "./tasks/rpmfusion.yml"
tags: [rpmfusion,system]
- name: Has sway and correlated tools installed
ansible.builtin.import_tasks: "./tasks/sway.yml"
tags: [sway,system]
- name: Has browser installed
ansible.builtin.import_tasks: "./tasks/browsers.yml"
tags: [browsers]
- name: Has ansible installed
tags: [system]
become: true
ansible.builtin.package:
name: "ansible"
- name: Has terminal configured
ansible.builtin.import_tasks: "./tasks/term.yml"
tags: [term,system]
- name: Has development tools installed
ansible.builtin.import_tasks: "./tasks/devtools.yml"
tags: [devtools]
- name: Has neovim with dependencies installed
ansible.builtin.import_tasks: "./tasks/neovim.yml"
tags: [neovim]
- name: Has apps installed
ansible.builtin.import_tasks: "./tasks/apps.yml"
tags: [apps]
- name: Has ssh key generated
ansible.builtin.import_tasks: "./tasks/sshkey.yml"