#### 关闭243 upstream ansible-playbook -i hosts site.yml --tags java_upstream -e "close_243_javabackend=True" - - - #### 开启243 upstream ansible-playbook -i hosts site.yml --tags java_upstream -e "open_243_javabackend=True" - - - #### 直接同步templates nginx.conf ansible-playbook -i hosts site.yml --tags nginx_vhost - - - #### 安装nginx ansible-playbook -i hosts site.yml --tags nginx_installer - - - #### 同步flume配置 ansible-playbook -i hosts site.yml --tags flume_conf - - - #### 同步hosts文件 ansible-playbook -i hosts site.yml --tags systembase_hosts - - - #### 生成配置,并启动容器 ansible-playbook -i hosts_liamo site.yml -e "region=SG" -e "node_id=101" -e "opposite_ip=1.2.3.4" -e "sec_region=sz" -e "sec_opposite_ip=5.6.7.8" --tags limao_proxy,docker_init - - - #### 当proxy_list为空的情况下,不填写sec_opposite_ip即可生成空列表 ansible-playbook -i hosts_liamo site.yml -e "region=SG" -e "node_id=101" -e "opposite_ip=1.2.3.4" -e "sec_region=sz" --tags limao_proxy