Fix up our common playbook with cron handlers n stuff

This commit is contained in:
Salt 2020-05-10 08:22:02 -05:00
parent 7d727f8c4d
commit ecee3ed4f8
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- name: restart cron
service:
name: cron
state: restarted
become: yes

View File

@ -19,9 +19,10 @@
- python3-apt - python3-apt
- vim - vim
become: yes become: yes
- name: Set timezone to CST - name: Set timezone
timezone: timezone:
name: "America/Chicago" name: "America/Chicago"
notify: restart cron
- name: Configure MOTD - name: Configure MOTD
block: block:
- name: Disable MOTD news - name: Disable MOTD news