diff options
author | clarkzjw <[email protected]> | 2023-03-02 22:48:42 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-03-02 22:48:42 -0800 |
commit | 1b36d880c202d5868757e2e49c6e774e43dc4f8d (patch) | |
tree | bb13f4d12d1320f0434eff7740fd6ac000cfbedb /hetzner/user.yaml | |
parent | f4fc1682ad379799b0610c1477e1fead06880993 (diff) | |
parent | 0a044f572564412df4d33a6899c6c6f007c004f6 (diff) | |
download | homelab-1b36d880c202d5868757e2e49c6e774e43dc4f8d.tar.gz |
Merge branch 'hetzner'
add ansible playbook collections for debian initialization
Diffstat (limited to 'hetzner/user.yaml')
-rw-r--r-- | hetzner/user.yaml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/hetzner/user.yaml b/hetzner/user.yaml new file mode 100644 index 0000000..bf21687 --- /dev/null +++ b/hetzner/user.yaml | |||
@@ -0,0 +1,59 @@ | |||
1 | --- | ||
2 | - name: System initialization | ||
3 | hosts: localhost | ||
4 | become: true | ||
5 | roles: | ||
6 | - role: gantsign.oh-my-zsh | ||
7 | users: | ||
8 | - username: clarkzjw | ||
9 | oh_my_zsh: | ||
10 | theme: robbyrussell | ||
11 | plugins: | ||
12 | - git | ||
13 | update_mode: reminder | ||
14 | update_frequency: 28 | ||
15 | tasks: | ||
16 | - name: Install required packages | ||
17 | apt: | ||
18 | name: | ||
19 | - debian-archive-keyring | ||
20 | - apt-transport-https | ||
21 | - build-essential | ||
22 | - ca-certificates | ||
23 | - lsb-release | ||
24 | - cifs-utils | ||
25 | - vnstat | ||
26 | - python3-dev | ||
27 | - python3-pip | ||
28 | - python3 | ||
29 | - iperf3 | ||
30 | - gnupg2 | ||
31 | - unzip | ||
32 | - rsync | ||
33 | - wget | ||
34 | - sudo | ||
35 | - htop | ||
36 | - curl | ||
37 | - tree | ||
38 | - zip | ||
39 | - vim | ||
40 | - zsh | ||
41 | - git | ||
42 | update_cache: true | ||
43 | |||
44 | - name: Postgresql | ||
45 | apt: | ||
46 | name: | ||
47 | - postgresql | ||
48 | - postgresql-client | ||
49 | - postgresql-contrib | ||
50 | update_cache: true | ||
51 | |||
52 | - name: Clean unneeded packages | ||
53 | apt: | ||
54 | autoremove: true | ||
55 | purge: true | ||
56 | |||
57 | - name: Clean unneeded packages | ||
58 | apt: | ||
59 | autoclean: true | ||