blob: 97ec01fc26f5240c0930b689765c2c96f2e16146 [file] [log] [blame]
---
# This task will write whisk.properties to the openwhisk_home.
# Currently whisk.properties is still needed for consul and tests.
- name: define invoker domains
set_fact:
invoker_hosts: []
- name: update the invoker domains
set_fact:
invoker_hosts: "{{invoker_hosts}} + ['invoker-{{item}}.invoker.openwhisk]"
with_sequence: start=0 count={{ invoker_count }}
- name: write whisk.properties template to openwhisk_home
template:
src: whisk.properties.j2
dest: "{{ openwhisk_home }}/whisk.properties"