mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2024-11-23 15:50:09 +00:00
42 lines
693 B
YAML
42 lines
693 B
YAML
---
|
|
- name: Upgrade Packages
|
|
apt:
|
|
update_cache: yes
|
|
upgrade: full
|
|
|
|
- name: Install required software
|
|
package:
|
|
name:
|
|
- hugo
|
|
- git
|
|
- nginx
|
|
- tor
|
|
- ufw
|
|
- fail2ban
|
|
- goaccess
|
|
- htop
|
|
- sqlite3
|
|
- zsh # :D
|
|
- python3-certbot-nginx
|
|
|
|
- name: Grab package facts
|
|
package_facts:
|
|
manager: auto
|
|
tags: always
|
|
|
|
- name: Setup zsh
|
|
user:
|
|
name: "{{ ansible_user }}"
|
|
shell: /usr/bin/zsh
|
|
|
|
- name: Clone Powerlevel10k theme
|
|
git:
|
|
repo: "https://github.com/romkatv/powerlevel10k.git"
|
|
dest: "/root/powerlevel10k"
|
|
depth: 1
|
|
|
|
- name: Install .zshrc
|
|
copy:
|
|
src: .zshrc
|
|
dest: /root/.zshrc
|
|
force: no |