18 Star 79 Fork 44

乞丐亦异 / ansible-elk-deploy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
01-env_init.yml 804 Bytes
一键复制 编辑 原始数据 按行查看 历史
Haibin Lee 提交于 2019-03-15 15:23 . REV: re-construct the inventories
- hosts: all
become: yes
serial: 33%
gather_facts: no
tasks:
- name: "Checking {{ inventory_dir }}/group_vars/all.yml"
stat:
path: "{{ inventory_dir }}/group_vars/all.yml"
delegate_to: localhost
run_once: yes
become: no
register: result
- fail:
msg: "Please create {{ inventory_dir }}/group_vars/all.yml from inventories/example/group_vars/all.yml, 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
- vars/sysctl_rules.yml
roles:
- init
- deploy.Chrony
Python
1
https://gitee.com/bottlelee/ansible-elk-deploy.git
git@gitee.com:bottlelee/ansible-elk-deploy.git
bottlelee
ansible-elk-deploy
ansible-elk-deploy
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891