This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangjianlong-galaxy-auto-d…/parcels/test1.yml
jianlong fd1b752d16 1. 新增自动检测安装ansible(本地yum源的方式实现)
2. storm替换flink(但是storm并未完全移除,可通过改变配置部署)
3. 新增dos定时任务和dos数据流
4. ck新增表, 服务镜像配置更新, druid新增任务/更新任务
2021-09-01 11:30:43 +08:00

34 lines
778 B
YAML

- hosts: 127.0.0.1
remote_user: root
gather_facts: yes
tasks:
- name: message
debug:
msg: "{{ package_path }} {{ playbook_dir | dirname }}"
- name: change hostname
debug:
msg:
win_hostname:
name: "{{ item }}"
loop: "{{ groups.flink|list }}"
- name: mee
debug:
msg: "{{groups['flink'].index}}"
- name: Print index of each host
shell: echo "yes"
delegate_to: "{{ item }}"
loop: "{{ groups['flink'] }}"
loop_control:
index_var: index_no
#debug:
# msg: "{{groups['flink'].index}}"
when: index_no >= 0
vars_files:
- ../configurations/config.yml
- ../configurations/components.yml
- roles/components/arangodb/vars/main.yml