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

View File

@@ -0,0 +1,11 @@
---
- hosts: all
user: ansible
become: yes
gather_facts: no
tasks:
- name: schedule a command to execute in 20 minutes as the ansible user
at:
command: df -h >tmp/diskspace
count: 20
units: minutes