--- - name: Create at job to run shutdown at X hosts: CentOS7-TEST gather_facts: no become: true vars_prompt: - name: "days" prompt: "In how many DAYS from now should shutdown be scheduled?" private: false - name: "hours" prompt: In how many HOURS from now should the shutdown be scheduled? private: false - name: "minutes" prompt: In how many MINUTES from now should the shutdown be scheduled? private: false tasks: - name: show hours plus minutes debug: msg: - "The value for DAYS is {{ days }}" - "The value for HOURS is {{ hours }}" - "The value for MINUTES is {{ minutes }}"