Mirror of git@code.avlyun.org:envision/g_service_ops_v1.0/devops.git
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
597 B

---
- name: 环境准备
hosts: new_cdh_servers
# become: true 不需要become,默认就是root用户
vars_prompt:
- name: mysql_pass
prompt: 请输入你想设置的MySQL root账户密码(默认为antiy?918)
default: "antiy?918"
tasks:
- include: tasks/basic_settings.yml
- include: tasks/deploy_mysql.yml
- include: tasks/deploy_cm.yml
- name: 安装完成,请继续配置
run_once: yes
delegate_to: localhost
pause:
prompt: "所有安装已经完成,请访问 {{ group['new_cdh_servers'][0] }}:7180 进行下一步配置"