completed at module lesson
This commit is contained in:
14
playbooks/install-at.yml
Normal file
14
playbooks/install-at.yml
Normal 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
|
||||
Reference in New Issue
Block a user