Use the correct config file for spawning/joining
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
7b3540ba36
commit
45d2a9e27b
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Spawn node
|
- name: Spawn node
|
||||||
command: repospanner --config /etc/repospanner/config.yml serve --spawn
|
command: repospanner --config /etc/repospanner/{{region}}-config.yml serve --spawn
|
||||||
args:
|
args:
|
||||||
creates: /var/lib/repospanner/state/state.json
|
creates: /var/lib/repospanner/state/state.json
|
||||||
become: yes
|
become: yes
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Join node
|
- name: Join node
|
||||||
command: repospanner --config /etc/repospanner/config.yml serve --joinnode https://{{ join_repospanner_node }}:{{ rpc_port }}
|
command: repospanner --config /etc/repospanner/{{region}}-config.yml serve --joinnode https://{{ join_repospanner_node }}:{{ rpc_port }}
|
||||||
args:
|
args:
|
||||||
creates: /var/lib/repospanner/state/state.json
|
creates: /var/lib/repospanner/state/state.json
|
||||||
become: yes
|
become: yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue