2022-05-30 15:46:36 +00:00
|
|
|
---
|
|
|
|
- name: Upgrade Packages
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
upgrade: full
|
|
|
|
|
|
|
|
- name: Install required software
|
|
|
|
package:
|
|
|
|
name:
|
|
|
|
- hugo
|
|
|
|
- git
|
|
|
|
- nginx
|
|
|
|
- tor
|
|
|
|
- ufw
|
2022-06-08 19:23:15 +00:00
|
|
|
- fail2ban
|
2022-08-02 18:32:19 +00:00
|
|
|
- goaccess
|
2022-05-30 15:46:36 +00:00
|
|
|
- htop
|
2023-02-03 21:40:59 +00:00
|
|
|
- sqlite3
|
2022-05-31 00:32:24 +00:00
|
|
|
- zsh # :D
|
2022-05-30 15:46:36 +00:00
|
|
|
- python3-certbot-nginx
|
2022-05-31 00:32:24 +00:00
|
|
|
|
2023-02-03 21:40:59 +00:00
|
|
|
- name: Grab package facts
|
|
|
|
package_facts:
|
|
|
|
manager: auto
|
|
|
|
tags: always
|
|
|
|
|
2023-01-20 00:02:55 +00:00
|
|
|
- name: Setup zsh
|
|
|
|
user:
|
|
|
|
name: "{{ ansible_user }}"
|
|
|
|
shell: /usr/bin/zsh
|
2022-05-31 00:32:24 +00:00
|
|
|
|
|
|
|
- name: Clone Powerlevel10k theme
|
2022-05-31 04:36:55 +00:00
|
|
|
git:
|
|
|
|
repo: "https://github.com/romkatv/powerlevel10k.git"
|
|
|
|
dest: "/root/powerlevel10k"
|
|
|
|
depth: 1
|
2022-05-31 00:32:24 +00:00
|
|
|
|
2022-05-31 04:36:55 +00:00
|
|
|
- name: Install .zshrc
|
|
|
|
copy:
|
2023-01-14 23:26:17 +00:00
|
|
|
src: .zshrc
|
2022-05-31 18:48:01 +00:00
|
|
|
dest: /root/.zshrc
|
|
|
|
force: no
|