Files
ansible-automations/roles/setup/handlers/main.yml
2023-03-27 16:32:09 +02:00

19 lines
663 B
YAML

#===================================================================================================
# ? 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