1 Star 0 Fork 44

Erwin / 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
Python
1
https://gitee.com/lamefox/ansible-elk-deploy.git
git@gitee.com:lamefox/ansible-elk-deploy.git
lamefox
ansible-elk-deploy
ansible-elk-deploy
master

搜索帮助