Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ipfs-search/ansible-ipfs
- Owner: ipfs-search
- License: apache-2.0
- Created: 2021-09-09T08:48:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-23T11:42:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T12:29:01.487Z (about 2 months ago)
- Topics: ansible, debian, devops, ipfs, kubo, molecule, redhat, ubuntu
- Language: Python
- Homepage: https://gitlab.com/ipfs-search1/ansible-ipfs
- Size: 158 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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)