代码拉取完成,页面将自动刷新
- 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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。