system/handlers/main.yml
vincent 33e86d30cb
Some checks failed
continuous-integration/drone/push Build is failing
fix: become for update keymap handler
2023-08-25 13:40:35 +02:00

20 lines
395 B
YAML

---
- name: Update hostname
hostname: name={{ arch_base_hostname }}
- name: Update keymap
command: localectl set-keymap {{ arch_base_keymap }}
become: true
- 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