Commit 56b5d211 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Launch side cars for master controller

parent b1558bd8
---
- set_fact:
async_list: []
tags:
- always
- name: Build master controller
tags:
- never
......@@ -46,9 +52,27 @@
image_name: edd_master_controller
container_name: MASTER_CONTROLLER
container_cmd: "/usr/bin/python /src/mpikat/mpikat/effelsberg/edd/edd_master_controller.py --host={{ edd_subnet }} --port={{ master_controller_port }} --edd_ansible_inventory={{ edd_inventory_folder }}"
bind_port: "{{ master_controller_port }}"
launch_influx_sidecar: true
launch_redis_sidecar: true
- set_fact:
master_controller_ip: "{{ ansible_host }}"
#- set_fact:
#master_controller_port: "{{ bind_port }}"
- set_fact:
async_list: "{{ async_list + [ async_results_tmp.ansible_job_id ] }}"
- name: "{{ image_name }}:: Wait for async job results"
async_status:
jid: "{{ item }}"
loop: "{{ async_list }}"
register: job_result
until: job_result.finished
retries: 100
delay: 3
tags:
- always
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment