-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_computer.yml
52 lines (51 loc) · 1.22 KB
/
setup_computer.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
---
- hosts: localhost
become: true
connection: local
roles:
# - geerlingguy.ansible
# - geerlingguy.git
- base
- flatpak
# - vaulttec.zsh
# - geerlingguy.pip
# - geerlingguy.php
# - geerlingguy.composer
# - vs-code
- role: developer
when: enable_developer_mode is true
- role: laptop
when: enable_laptop_mode is true
- role: yubikey
when: yubikey_enable is true
vars_files:
- vars/main.vault.yml
- vars/main.yml
- vars/zsh.yml
vars:
- ansible_python_interpreter: /usr/bin/python3
vars_prompt:
- name: enable_laptop_mode
prompt: Is this a laptop?
private: no
default: false
- name: local_user
prompt: What is your local user account?
private: no
default: joe
- name: enable_gaming
prompt: Should I enable gaming?
private: no
default: false
# - name: enable_developer_mode
# prompt: Should I enable Developer Mode??
# private: no
# default: false
- name: yubikey
prompt: Please enter yubikey
private: true
default: "{{ vault_yubikey }}"
# - name: yubikey_ssh_login
# prompt: Enable login to SSH
# private: no
# default: false