---
# tasks file for random_sleep
- name: Generate sleep time
  set_fact:
    sleep_time: "{{ 60 | random }}"

- name: Do random sleep
  shell: sleep "{{ sleep_time }}"
