complete roles cronie

This commit is contained in:
vincent 2019-04-14 11:44:33 +02:00
parent 9a8d317346
commit a5de432177
3 changed files with 16 additions and 3 deletions

View File

@ -1,2 +1,7 @@
---
# handlers file for cronie
# handlers file for cronie
- name: restart cron
service:
name: "{{ cron_service_name }}"
state: restarted

View File

@ -55,6 +55,7 @@ galaxy_info:
# NOTE: A tag is limited to a single word comprised of alphanumeric characters.
# Maximum 20 tags per role.
dependencies: []
dependencies:
- ssmtp
# List your role dependencies here, one per line. Be sure to remove the '[]' above,
# if you add dependencies to this list.

View File

@ -1,2 +1,9 @@
---
# tasks file for cronie
# tasks file for cronie
- name: Install cronie
pacman: name=cronie state=present
become: yes
- name: Enable cronie
service: name=cronie.service enabled=yes state=started
become: yes