-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.yml
48 lines (45 loc) · 1.2 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
---
- name: Kaweees's Ansible Playbook
hosts: localhost
become: true
vars_files:
- vars/nvm.yml
- vars/node.yml
- vars/dotfiles.yml
vars:
source_key: "./.ssh/id_rsa"
dest_key: "{{ lookup('env', 'HOME') }}/.ssh/id_rsa"
personal: "{{ lookup('env', 'HOME') }}/personal"
pre_tasks:
- name: Add non-free, contrib repos
become: true
replace:
path: /etc/apt/sources.list
regexp: '(non-free-firmware)$'
replace: 'contrib non-free'
tags:
- minimal-install
- install
- name: Update Apt cache
become: true
apt:
force_apt_get: true
update_cache: true
state: present
tags:
- minimal-install
- install
tasks:
# - include: tasks/ssh.yml
- include: tasks/core-setup.yml
- include: tasks/gui-setup.yml
- include: tasks/flatpak-setup.yml
- include: tasks/discord-setup.yml
- include: tasks/gh-setup.yml
- include: tasks/neovim-setup.yml
- include: tasks/rust-setup.yml
- include: tasks/zsh-setup.yml
- include: tasks/dotfiles.yml
# - include: tasks/suckless-setup.yml
# - include: tasks/node-setup.yml
# - include: tasks/git-setup.yml