Files
EX407-Ansible-Automation/playbooks/install-at.yml
2020-03-26 17:32:53 +01:00

14 lines
309 B
YAML

---
- hosts: all
user: ansible
become: yes
gather_facts: no
tasks:
- name: install the at command for job scheduling
action: yum name=at state=installed
- name: enable and start service at if not started
service:
name: atd
state: started
enabled: yes