Merge pull request #5349 from ansible/only_one

[4.1] Allow testing a single hybrid instance like the good old days
This commit is contained in:
Alan Rominger
2021-10-19 16:43:21 -04:00
committed by GitHub

View File

@@ -113,4 +113,5 @@
src: "receptor-worker.conf.j2"
dest: "{{ sources_dest }}/receptor/receptor-worker-{{ item }}.conf"
mode: '0600'
with_sequence: start=1 end={{ execution_node_count }}
with_sequence: start=1 end={{ execution_node_count if execution_node_count | int > 0 else 1}}
when: execution_node_count | int > 0