Skip to content

Documentation seems to be outdated. #13

Open
@nonsense

Description

Following the README.md and trying to run the Ansible playbooks on a new host, results in the follow error:

  1. Edit inventory.yml and add IP to validator and sentry.
  2. Confirm that hosts are reachable:
ansible sentry -m ping

SUCCESS
ansible validator -m ping

SUCCESS
  1. Run the playbook to install sentry and validator
ansible-playbook -l validator playbooks/network.yml --extra-var="bor_branch=v0.2.1 heimdall_branch=v0.2.0-mainnet-1d8aca37 network_version=mainnet-v1 node_type=sentry/validator"

...

TASK [install-heimdall : Creating symlink for bridge] *************************************************
changed: [xxx]

TASK [Build Bor] **************************************************************************************

TASK [install-bor : Cloning the Bor] ******************************************************************
changed: [xxx]

TASK [install-bor : Build Bor] ************************************************************************
fatal: [xxx]: FAILED! => {"changed": true, "cmd": ["make", "bor-all"], "delta": "0:00:00.002954", "end": "2021-05-02 23:41:02.410952", "msg": "non-zero return code", "rc": 2, "start": "2021-05-02 23:41:02.407998", "stderr": "make: *** No rule to make target 'bor-all'.  Stop.", "stderr_lines": ["make: *** No rule to make target 'bor-all'.  Stop."], "stdout": "", "stdout_lines": []}

Ansible version

ansible --version

ansible 2.10.3
  config file = /Users/nonsense/code/src/github.com/maticnetwork/node-ansible/ansible.cfg
  configured module search path = ['/Users/nonsense/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/2.10.3_1/libexec/lib/python3.9/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.9.0 (default, Dec  6 2020, 18:02:34) [Clang 12.0.0 (clang-1200.0.32.27)]

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions