2023-03-30 14:29:38 +02:00
|
|
|
# ===================================================================================================
|
2023-02-27 16:39:00 +01:00
|
|
|
# ? 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.
|
2023-03-30 14:29:38 +02:00
|
|
|
# ===================================================================================================
|
2023-02-27 16:39:00 +01:00
|
|
|
|
|
|
|
|
---
|
|
|
|
|
- name: apt_update
|
|
|
|
|
apt:
|
2023-03-30 14:29:38 +02:00
|
|
|
update_cache: true
|
2023-02-27 16:39:00 +01:00
|
|
|
|
|
|
|
|
- name: restart_sshd
|
|
|
|
|
service:
|
|
|
|
|
name: "{{ openssh_service }}"
|
|
|
|
|
state: restarted
|