Skip to content

Ansible collection for installing and configuring kubo (former go-ipfs). Tested with Molecule on Ubuntu, Debian and RedHat.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

ipfs-search/ansible-ipfs

Repository files navigation

ansible-ipfs

pipeline status Ansible collection for IPFS.

Testing

This collection uses molecule for testing.

Install testing dependencies

  1. Install Docker
  2. Install packages for dependencies: a) Ubuntu: sudo apt-get install python3-pip libssl-dev b) CentOS: sudo dnf install -y gcc python3-pip python3-devel openssl-devel python3-libselinux
  3. Install pipenv: pip install pipenv (or manually install dependencies with pip install molecule[ansible,lint,docker])
  4. Install Python dependencies: pipenv install

Running tests

  1. Start Docker
  2. Activate pipenv: pipenv shell
  3. Run tests: molecule test

Optionally, run a local gateway to speed up IPFS downloads by setting IPFS_GATEWAY. This prevents IPFS from being downloaded again and again.

For example: IPFS_GATEWAY=http://192.168.1.23:8080 molecule test

License

ansible-ipfs is dual-licensed under Apache 2.0 and MIT terms:

About

Ansible collection for installing and configuring kubo (former go-ipfs). Tested with Molecule on Ubuntu, Debian and RedHat.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks