diff --git a/ansible/main.yml b/ansible/main.yml index 17ff9b3..a8b7677 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -15,7 +15,6 @@ - { role: infra-role-geth, tags: infra-role-geth } - { role: infra-role-geth-exporter, tags: infra-role-geth-exporter } - { role: faucet-api, tags: faucet-api } - - { role: geth-peer-fix, tags: geth-peer-fix } vars: faucet_network: ropsten faucet_http_port: 3000 @@ -34,7 +33,6 @@ - { role: infra-role-geth, tags: infra-role-geth } - { role: infra-role-geth-exporter, tags: infra-role-geth-exporter } - { role: faucet-api, tags: faucet-api } - - { role: geth-peer-fix, tags: geth-peer-fix } vars: faucet_network: rinkeby faucet_http_port: 3001 @@ -51,7 +49,6 @@ - { role: infra-role-geth, tags: infra-role-geth } - { role: infra-role-geth-exporter, tags: infra-role-geth-exporter } - { role: faucet-api, tags: faucet-api } - - { role: geth-peer-fix, tags: geth-peer-fix } vars: faucet_network: goerli faucet_http_port: 3002 diff --git a/ansible/roles/geth-peer-fix/README.md b/ansible/roles/geth-peer-fix/README.md deleted file mode 100644 index 5a79725..0000000 --- a/ansible/roles/geth-peer-fix/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Description - -This tiny role simply adds a cronjob to restart the geth container on faucet master host daily to avoid the `no suitable peers available` error which keeps messing with the faucet API. - -For more details read: https://github.com/status-im/infra-faucet/issues/1 diff --git a/ansible/roles/geth-peer-fix/tasks/main.yml b/ansible/roles/geth-peer-fix/tasks/main.yml deleted file mode 100644 index 5751ee1..0000000 --- a/ansible/roles/geth-peer-fix/tasks/main.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# This an UGLY way of "fixing" the `no suitable peers available` error -- name: Add cronjob to restart geth container - cron: - name: 'HACK: Restart {{ geth_cont_name }} to avoid peers errors' - job: 'docker restart {{ geth_cont_name }}' - special_time: 'daily'