Files
ansible-automations/roles/setup/handlers/main.yml

19 lines
666 B
YAML
Raw Normal View History

# ===================================================================================================
# ? 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: true
- name: restart_sshd
service:
name: "{{ openssh_service }}"
state: restarted