Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffbr13/ansible-ipfs
IPFS daemon installation and configuration.
https://github.com/jeffbr13/ansible-ipfs
ansible ansible-role ipfs ipfs-daemon
Last synced: 11 days ago
JSON representation
IPFS daemon installation and configuration.
- Host: GitHub
- URL: https://github.com/jeffbr13/ansible-ipfs
- Owner: jeffbr13
- License: mit
- Created: 2017-11-17T00:12:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T10:36:40.000Z (almost 7 years ago)
- Last Synced: 2024-10-29T14:19:07.817Z (19 days ago)
- Topics: ansible, ansible-role, ipfs, ipfs-daemon
- Homepage: https://galaxy.ansible.com/jeffbr13/ipfs/
- Size: 18.6 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
jeffbr13.ipfs
=============Installs and configures the [`go-ipfs`](https://github.com/ipfs/go-ipfs) daemon with automatic forward-migration.
Unique node IDs and private keys must be configured per-host.
Requirements
------------- Ansible 2.2 (for service.use option)
Role Variables
--------------The IPFS peer ID and private key must be for each host in `host_vars`.
```yaml
ipfs_peer_id: "" # see below
ipfs_private_key: "" # ipfs-key | base64
```You can produce valid values for `ipfs_peer_id` and `ipfs_private_key` by running `ipfs-key | base64 -w 0` (see [whyrusleeping/ipfs-key][]).
The following variables can also be set across the playbook:
```yaml
ipfs_dist_url: https://dist.ipfs.io
ipfs_version: v0.4.11
ipfs_arch: amd64
ipfs_http_api_listen_multiaddress: /ip4/127.0.0.1/tcp/5001
ipfs_http_gateway_listen_multiaddress: /ip4/127.0.0.1/tcp/8080
ipfs_storage_max: 10GB
```The HTTP control API and Gateway addresses are both configured as an [IPFS `multiaddr`][multiaddr].
Remember to also configure your firewall if you're exposing them.Example Playbook
----------------```yaml
# playbook.yml- hosts: ipfs_nodes
roles:
- { role: jeffbr13.ipfs, ipfs_arch: arm, ipfs_http_api_listen_multiaddress: /ip4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FFk/BS+UALsZKyarERbZ5U9NCscNZeVIukztjJUGCPpntjGM8r8NK3CXtWc+qGHewAgNGXzn6cyNVv29olPJNK0gvDkVou4NwEVMWjzDuFaiLZKeCQKBgQC0Mm1UUCha0iTmBilU4vB8CBqD7ro8w+5/j6kpAtgYVu/q1p5tSTZrWCtPBuBsJ+YGHEEs/eomKb6n2OpQbeIhuki1bLacjs4x4dHTjn2wERQkRhqHd6ZOL4GYQd4FCE2ij0XhMjhjG74sEqL8sPISQXwKa+WntnahRHbwRcRoCwKBgQCERqR5Ih2F5e5iTCLyDJwkdjEKd08Jf3mpZlXF4gVlZrZARrW9vchLegcLvJUOrOsMs9t2HOjFmg9+tUlf+E4Z+RvndH0six9YrMPJc/tQ9r+bAE91mFLec2x5wJpO0P9SdJLic9jBhb6PL9kjdkClOaVxzSYMOx7etLgEeJtOaQKBgAVYOsf2EA3aoukh6mPTKVfKaV71mFRhIPcbT0mADaJ7mYh0fSV/FHahwRioKfweTFNEFVO15x97acBbfInA/ZARc+N08IKVfwr+vopcefXEqgE0PMGsI/fFduXYBbprdns62qGrEYAJkNE8E34AM2Afh9sWt9PJdUYpBagHc+dL
```License
-------MIT
Author Information
------------------This is an Ansible Galaxy distributable role based on .
[whyrusleeping/ipfs-key]: https://github.com/whyrusleeping/ipfs-key
[multiaddr]: https://multiformats.io/multiaddr/