Fix up our common playbook with cron handlers n stuff
This commit is contained in:
parent
7d727f8c4d
commit
ecee3ed4f8
8
roles/common/handlers/main.yml
Normal file
8
roles/common/handlers/main.yml
Normal file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- name: restart cron
|
||||
service:
|
||||
name: cron
|
||||
state: restarted
|
||||
become: yes
|
@ -19,9 +19,10 @@
|
||||
- python3-apt
|
||||
- vim
|
||||
become: yes
|
||||
- name: Set timezone to CST
|
||||
- name: Set timezone
|
||||
timezone:
|
||||
name: "America/Chicago"
|
||||
notify: restart cron
|
||||
- name: Configure MOTD
|
||||
block:
|
||||
- name: Disable MOTD news
|
||||
|
Loading…
Reference in New Issue
Block a user