Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ipfs-search/ansible-ipfs

Ansible collection for installing and configuring kubo (former go-ipfs). Tested with Molecule on Ubuntu, Debian and RedHat.
https://github.com/ipfs-search/ansible-ipfs

ansible debian devops ipfs kubo molecule redhat ubuntu

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# ansible-ipfs
[![pipeline status](https://gitlab.com/ipfs-search.com/ansible-ipfs/badges/main/pipeline.svg)](https://gitlab.com/ipfs-search.com/ansible-ipfs/commits/main)
Ansible collection for IPFS.

## Testing
This collection uses [molecule](https://molecule.readthedocs.io/en/latest/) 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`
4. Install [pipenv](https://pipenv.pypa.io/en/latest/): `pip install pipenv` (or manually install dependencies with `pip install molecule[ansible,lint,docker]`)
5. Install Python dependencies: `pipenv install`

### Running tests
1. Start Docker
2. Activate pipenv: `pipenv shell`
2. 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:

- Apache License, Version 2.0, ([LICENSE-APACHE](https://github.com/ipfs-search/ansible-ipfs/blob/main/LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](https://github.com/ipfs-search/ansible-ipfs/blob/main/LICENSE-MIT) or http://opensource.org/licenses/MIT)