mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-12-04 05:20:35 +00:00
Create pre.yml
This commit is contained in:
parent
65b99c78cd
commit
37b9e6d2d4
1 changed files with 19 additions and 0 deletions
19
apps/roles/wordpress/tasks/pre.yml
Normal file
19
apps/roles/wordpress/tasks/pre.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
- pause:
|
||||
prompt: |
|
||||
Choice WordPress Solution:
|
||||
0: default
|
||||
1: HP(高性能)
|
||||
private: no
|
||||
Default:0
|
||||
register: wordpress_solution_selected
|
||||
|
||||
- set_fact:
|
||||
wordpress_solution_option:
|
||||
"0": ""
|
||||
"1": "hp"
|
||||
|
||||
- set_fact:
|
||||
wordpress_solution: "{{wordpress_solution_option[wordpress_solution_selected.user_input]}}"
|
||||
|
||||
- debug:
|
||||
msg: "WordPress Solution is {{wordpress_solution}}"
|
Loading…
Reference in a new issue