Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- - hosts: localhost
- vars_prompt:
- - name: "Choice"
- prompt: "Please Enter option 1 for installation 2 for uninstallation"
- private: no
- tasks:
- - import_tasks: install.yml
- when: Choice == "1"
- - import_tasks: uninstall.yml
- when: Choice == "2"
- ---
- vars_prompt:
- - name: "CallBack"
- prompt: "Please Enter the Callback IP"
- private: no
- - name: "current directory"
- shell: /bin/installXXX {{CallBack}}
- register: basedir
Add Comment
Please, Sign In to add comment