completed at module lesson

This commit is contained in:
Ilgar Naghiyev
2020-03-26 17:32:53 +01:00
parent fc839330eb
commit 7d523c8154
3 changed files with 80 additions and 2 deletions

14
playbooks/install-at.yml Normal file
View File

@@ -0,0 +1,14 @@
---
- 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