adding check for privacy key file when privacy is on

pull/21/head
Joshua Fernandes 5 years ago
parent c46ce8e828
commit 49b5836c46
  1. 4
      tasks/main.yml

@ -15,7 +15,9 @@
- name: Check besu_privacy_enabled is not set when fast sync is enabled
fail:
msg: Orion and Fast-Sync are incompatible
when: ( besu_privacy_enabled|bool == True ) and ( besu_sync_mode == "FAST" )
when: ( besu_privacy_enabled|bool == True ) and
( besu_privacy_public_key_file != "" ) and
( besu_sync_mode == "FAST" )
- name: Include OS and distribution specific variables
include_vars: "{{ item }}"

Loading…
Cancel
Save