2 Star 1 Fork 47

KrisOtk/ansible-elk-deploy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
01-env_init.yml 700 Bytes
一键复制 编辑 原始数据 按行查看 历史
乞丐亦异 提交于 2018-05-15 16:28 . Dev (#22)
- hosts: all
become: yes
serial: 33%
gather_facts: no
tasks:
- name: Checking group_vars/all.yml
stat:
path: group_vars/all.yml
delegate_to: localhost
run_once: yes
become: no
register: result
- fail:
msg: "Please create group_vars/all.yml from group_vars/all.yml.example, and edit it to suit your environment before your deploy."
when: result.stat.exists == false
delegate_to: localhost
run_once: yes
become: no
- include_role:
name: init
tasks_from: check_python.yml
- hosts: all
become: yes
serial: 33%
vars_files:
- vars/download_urls.yml
roles:
- init
- deploy.Chrony
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/zhuwanqiang/ansible-elk-deploy.git
git@gitee.com:zhuwanqiang/ansible-elk-deploy.git
zhuwanqiang
ansible-elk-deploy
ansible-elk-deploy
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385