system/handlers/main.yml
vincent 95f507fcd0
All checks were successful
continuous-integration/drone/push Build is passing
add become to handler
2022-02-13 09:42:18 +01:00

19 lines
380 B
YAML

---
- name: Update hostname
hostname: name={{ arch_base_hostname }}
- name: Update keymap
command: localectl set-keymap {{ arch_base_keymap }}
- name: Update_pacman_repos
become: true
pacman: update_cache=true
- name: Restart sshd
service: name=sshd state=restarted
become: true
- name: restart_sysctl
service: name=systemd-sysctl state=restarted
become: true