infra-nimbus/ansible/roles/get-geth-api-urls/tasks/main.yml

13 lines
327 B
YAML

---
- include_tasks: consul/posix.yml
when: ansible_system in ['Linux', 'Darwin']
loop: '{{ geth_node_api_fleet_names }}'
loop_control:
loop_var: 'fleet_name'
- include_tasks: consul/windows.yml
when: ansible_system == 'Win32NT'
loop: '{{ geth_node_api_fleet_names }}'
loop_control:
loop_var: 'fleet_name'