diff --git a/roles/ipfs/README.md b/roles/ipfs/README.md index 225dd44..74b22e1 100644 --- a/roles/ipfs/README.md +++ b/roles/ipfs/README.md @@ -1,38 +1,38 @@ -Role Name +ipfs ========= -A brief description of the role goes here. +This role setup ipfs-update and ipfs, systemd related files and start iptables-ipfs role Requirements ------------ -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. +. Role Variables -------------- -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. +- **ipfs_enabled** (boolean): Enable or disable IPFS support +- **ipfs_setup** (boolean): If true will setup IPFS installation with updater for the first time +- **ipfs_updater_version**: ipfs-update version +- **ipfs_group**: IPFS dedicated group +- **ipfs_user**: IPFS dedicated user Dependencies ------------ -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. +. Example Playbook ---------------- -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } +ansible-playbook -i inventory/example.yml handbook.yml --extra-vars="target=your_target ipfs_version=latest" --tags ipfs License ------- -BSD +GPLv3 Author Information ------------------ -An optional section for the role authors to include contact information, or a website (HTML is not allowed). +- [Claudio Maradonna](https://social.unitoo.it/claudio)