-
Notifications
You must be signed in to change notification settings - Fork 0
/
ishell.yml
42 lines (37 loc) · 980 Bytes
/
ishell.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
---
- name: Configure interactive shell lxc
hosts: ishell
vars_files:
- host_vars/ishell/packages.yml
- host_vars/ishell/secrets.yml
pre_tasks:
- name: 'Update apt cache'
become: true
apt:
update_cache: yes
- name: 'Upgrade packages'
become: true
apt:
upgrade: safe
autoremove: yes
- name: 'Install apt packages'
become: true
package:
name: "{{ install_packages }}"
state: present
roles:
- role: create_user
# user info specified in secrets.yml
- role: install_wormhole-rs
- role: install_powershell_ubuntu
# run chezmoi twice. first to install (as root) and then to init as user
- role: hussainweb.chezmoi
become: true
- role: hussainweb.chezmoi
chezmoi_init_url: "0xConnorRhodes"
become: true
become_user: "{{ user }}"
- role: generate_ssh_key
become: true
become_user: "{{ user }}"
#post_tasks: