Authored by chunhua.zhang

add

... ... @@ -3,6 +3,9 @@
# anthor: chunhua.zhang
- hosts: localhost
vars_prompt:
- name: "confirmation"
prompt: "Start to change . Please Enter YES to continue"
private: no
- name: "netType"
prompt: "Please choose device enterpoint: 0 for Domain(api.yoho.cn) or 1 for DCDN(api-dc1-qq.yoho.cn). [0|1]"
default: 1
... ... @@ -13,6 +16,12 @@
private: no
tasks:
- name: "make sure user type YES to confirm"
fail:
msg: "user do not type YES"
when: confirmation != 'YES'
# query for current configration
- name: Query for current configuration
uri:
... ...