Skip to content

Instantly share code, notes, and snippets.

@parberge
Created February 15, 2017 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parberge/46359b9e2cc52d968c37be466ff032ae to your computer and use it in GitHub Desktop.
Save parberge/46359b9e2cc52d968c37be466ff032ae to your computer and use it in GitHub Desktop.
vars_prompt
---
- hosts: all
vars_prompt:
- name: "reboot_check"
prompt: "Should the host(s) really be rebooted?"
default: "no"
private: no
tasks:
- include: tasks/os/common/reboot.yml
when: reboot_check == "yes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment