From 77538013594fa08cd4c68866bbab009d8f5deae8 Mon Sep 17 00:00:00 2001 From: Joshua Fernandes Date: Wed, 3 Jun 2020 09:29:38 +1000 Subject: [PATCH] fixes for linting --- tasks/compile.yml | 2 -- templates/config.toml.j2 | 5 ----- test/lint/.ansible-lint | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tasks/compile.yml b/tasks/compile.yml index c6ac312..90b9d36 100644 --- a/tasks/compile.yml +++ b/tasks/compile.yml @@ -38,5 +38,3 @@ - name: Set Besu Version Fact set_fact: besu_version: "{{ besu_version_cmd.stdout }}" - - diff --git a/templates/config.toml.j2 b/templates/config.toml.j2 index ab05ac7..89a589f 100644 --- a/templates/config.toml.j2 +++ b/templates/config.toml.j2 @@ -94,14 +94,9 @@ permissions-nodes-contract-address="{{ besu_permissions_nodes_contract_address } {% endif %} {% if besu_bootnodes|length > 0 %} -{% if besu_bootnodes is string %} -# bootnodes -bootnodes={{besu_bootnodes}} -{% else %} # bootnodes bootnodes=[{{besu_bootnodes|map('to_json')|join(',')}}] {% endif %} -{% endif %} {% if besu_privacy_enabled|bool == True %} # Orion diff --git a/test/lint/.ansible-lint b/test/lint/.ansible-lint index 9da6faa..68a4331 100644 --- a/test/lint/.ansible-lint +++ b/test/lint/.ansible-lint @@ -4,4 +4,4 @@ use_default_rules: true verbosity: true skip_list: - '204' - + - '602'