feat: refactored the playbooks and the base structure
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
3ab379d59f
commit
ec1a2062ec
@ -1,7 +1,6 @@
|
||||
---
|
||||
- name: "Update/upgrade debian and install neovim"
|
||||
hosts: prodservers
|
||||
tags: debian
|
||||
- name: "Update/upgrade debian and install docker and misc tools."
|
||||
hosts: docker
|
||||
roles:
|
||||
- system
|
||||
- softwares
|
@ -10,3 +10,9 @@
|
||||
name: htop
|
||||
state: latest
|
||||
update_cache: true
|
||||
|
||||
- name: Install net-tools (i.e. netstat)
|
||||
ansible.builtin.apt:
|
||||
name: net-tools
|
||||
state: latest
|
||||
update_cache: true
|
||||
|
12
roles/wireguard/tasks/main.yaml
Normal file
12
roles/wireguard/tasks/main.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Install wireguard
|
||||
ansible.builtin.apt:
|
||||
name: wireguard
|
||||
state: latest
|
||||
update_cache: true
|
||||
|
||||
- name: Install wireguard tools
|
||||
ansible.builtin.apt:
|
||||
name: wireguard-tools
|
||||
state: latest
|
||||
update_cache: true
|
9
wireguard.yaml
Normal file
9
wireguard.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: "Update/upgrade debian and install wireguard and misc tools."
|
||||
hosts: wireguard
|
||||
roles:
|
||||
- system
|
||||
- softwares
|
||||
- bpytop
|
||||
- wireguard
|
||||
- clean
|
Loading…
Reference in New Issue
Block a user