-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplaybook.yml
More file actions
executable file
·48 lines (40 loc) · 1.41 KB
/
playbook.yml
File metadata and controls
executable file
·48 lines (40 loc) · 1.41 KB
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
#!/usr/bin/ansible-playbook --ask-vault-pass
---
# Install and setup local env
- hosts: localhost
gather_facts: false
become: yes
## ignore_errors: yes
vars_files:
- secrets.yml
vars_prompt:
# - name: "configure_video_amdgpu"
# prompt: "Configure xf86-video-amdgpu?"
# - name: "configure_intel_mac"
# prompt: "Configure xf86-video-intel macbook?"
# - name: "configure_intel_dell"
# prompt: "Configure xf86-video-intel dell xps?"
- name: "setup_aur"
prompt: "Setup aur packages?"
- name: "setup_pacman"
prompt: "Setup pacman packages?"
# - name: "nfs_mount"
# prompt: "Setup NFS (homeserver)?" #replaced with rclone
tasks:
- name: configure pacman/packages
include: configure_pacman.yml
when: setup_pacman.0 is defined
- name: configure aur
include: configure_aur.yml
when: setup_aur.0 is defined
# now wayland
# - name: configure video_drivers (X)
# include: configure_video_drivers.yml
# when: (configure_intel_mac.0 is defined) or (configure_intel_dell.0 is defined) or (configure_video_amdgpu.0 is defined)
- name: configure symlinks
include: configure_symlinks.yml
- name: user/sudo and folder creation
include: configure_user.yml
when: setup_user.0 is defined
- name: configure systemd services and etc files
include: configure_services.yml