feat: refactored the playbooks and the base structure

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-11-16 15:14:08 +01:00
parent 3ab379d59f
commit ec1a2062ec
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
5 changed files with 29 additions and 3 deletions

View File

@ -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

View File

@ -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

View 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
View File

@ -0,0 +1,9 @@
---
- name: "Update/upgrade debian and install wireguard and misc tools."
hosts: wireguard
roles:
- system
- softwares
- bpytop
- wireguard
- clean