Giter Club home page Giter Club logo

ansible-galaxy's Introduction

Ansible Polkadot Collection - paritytech.chain

Install Ansible collections

Create requirements.yml file in your playbook repository (or add to the existing file):

collections:
  - name: https://github.com/paritytech/ansible-polkadot.git
    type: git
    version: 1.10.0

or

collections:
  - name: paritytech.chain
    version: 1.10.0

If you want to install collections in the project space, you have to run:

mkdir collections
ansible-polkadot collection install -f -r requirements.yml -p ./collections

If you want to install collections in the global space (~/.ansible/collections), you have to run:

ansible-polkadot collection install -f -r requirements.yml

Roles

ansible-galaxy's People

Contributors

aardbol avatar bakhtin avatar bulatsaif avatar ddorgan avatar dependabot[bot] avatar hitchhooker avatar kogeler avatar lazam avatar paritytech-ci avatar pierrebesson avatar stepanlav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-galaxy's Issues

Add node_keystore_path variable

It is good practice to put keys in a separate keystore folder that is outside the database path which may be backuped by some processes.

I suggest introducing node_keystore_path to set:

      --keystore-path <PATH>
          Specify custom keystore path

Running the playbook issue

I'm running in to an issue running when trying to set-up a simple polkadot service with the main.yml in the node repo
version is `ansible [core 2.13.2] ansible [6.2.0]

The command I'm running is as follows:

ansible-playbook roles/node/tasks/main.yml -i ./ansible_hosts.yaml

content of ansible_host.yaml

[host1]
192.168.1.11

[host1:vars]
ansible_user=ilhan
node_user=polkadot
node_user_home_path=/home/polkadot

Getting the following output:

ERROR! 'ansible.builtin.user' is not a valid attribute for a Play

The error appears to be in '/Users/ilhan/devops/ansible-galaxy/roles/node/tasks/main.yml': line 3, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


- name: Prepare | create user
  ^ here

What is it I'm doing wrong ?
And it would help a lot of more examples are presented in the README.

--db-cache / node_db_cache flag

I instantiated a couple of different nodes with this ansible repo and on the validator nodes I would like to leave out the node_db_cache to the polkadot binary instead of setting it.

The default value is set defaults/main.yml. Leaving the option out is not possible, which it should be.
Maybe be only when the value is set in the inventory file this should be taken along.

changed CLI parameters

With Polkadot release v0.9.43 there were changing CLI flags. This breaks the current deployment with the ansible-galaxy and leads to a non-working version.

--rpc-max-payload (replaced by --rpc-max-request-size and --rpc-max-response-size)
--ws-max-out-buffer-capacity
--ws-external (replaced by --rpc-external)
--unsafe-ws-external (replaced by --unsafe-rpc-external)
--ipc--path
--ws-port (replaced by --rpc-port)
--ws-max-connections (replaced by --rpc-max-connections)
--rpc-http (replaced by --rpc-addr)
--rpc-ws (replaced by --rpc-addr)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.