Created
December 18, 2017 14:54
-
-
Save renepardon/1c7299697d5f3ac3a5751c314bf90739 to your computer and use it in GitHub Desktop.
this is a local test with vars_prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: this is a local test with vars_prompt | |
hosts: 127.0.0.1 | |
connection: local | |
pre_tasks: | |
- import_tasks: tasks/pre/load-vars.yml | |
vars_prompt: | |
- name: "company" | |
prompt: "Company of the project (lowercase)" | |
default: "mycompany" | |
private: no | |
- name: "project_shortcut" | |
prompt: "Project shortcut for company {{ company }} (lowercase)" | |
default: "myproject" | |
private: no | |
- name: "MASTER_DEPLOYMENT_DIRECTORY" | |
prompt: "Deployment directory for 'master' branch" | |
default: "/var/www/vhosts/{{ company }}/{{ project_shortcut }}" | |
private: no |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment