core: Swap to ansible roles for config

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-02-27 16:39:00 +01:00
parent 470fedf579
commit bc7c984206
17 changed files with 286 additions and 63 deletions

View File

@@ -0,0 +1,18 @@
#===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-02-2023
# @description : This file contains all the handlers for the base role.
#===================================================================================================
---
- name: apt_update
apt:
update_cache: yes
- name: restart_sshd
service:
name: "{{ openssh_service }}"
state: restarted