dubee commented on a change in pull request #3525: Re-enable invokers
docker_container module
URL:
https://github.com/apache/incubator-openwhisk/pull/3525#discussion_r179454489
##########
File path: ansible/roles/invoker/tasks/deploy.yml
##########
@@ -135,95 +135,110 @@
set_fact:
invoker_args: "{{ invoker.arguments }} {{ invoker.jmxremote.jvmArgs }}"
+- name: prepare invoker ports
+ set_fact:
+ ports_to_expose: ["{{ invoker.port +
groups['invokers'].index(inventory_hostname) }}:8080"]
+
+- name: expose additional ports if jmxremote is enabled
+ when: jmx.enabled
+ set_fact:
+ ports_to_expose: "{{ ports_to_expose }} + [ \"{{ jmx.basePortInvoker +
groups['invokers'].index(inventory_hostname) }}:{{ jmx.basePortInvoker +
groups['invokers'].index(inventory_hostname) }}\" ] + [ \"{{
jmx.rmiBasePortInvoker + groups['invokers'].index(inventory_hostname) }}:{{
jmx.rmiBasePortInvoker + groups['invokers'].index(inventory_hostname) }}\" ]"
+
+- name: prepare invoker env
+ set_fact:
+ env: {
Review comment:
Are the curl braces necessary here?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services