Add some documentation in README
This commit is contained in:
parent
2215368584
commit
304d1d1579
1 changed files with 8 additions and 26 deletions
|
@ -1,38 +1,20 @@
|
|||
Role Name
|
||||
Gotosocial
|
||||
=========
|
||||
|
||||
A brief description of the role goes here.
|
||||
|
||||
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.
|
||||
A role to install and configure gotosocial, as well as create admin accounts.
|
||||
|
||||
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.
|
||||
The most important variable to set is `gotosocial_host`.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
This is the domain your instance is supposed to run on,
|
||||
and can't be easily changed after the first run.
|
||||
|
||||
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 }
|
||||
For more variables, see ./defaults/main.yml and check out the very good documentation
|
||||
in the official [example config](https://github.com/superseriousbusiness/gotosocial/blob/main/example/config.yaml)
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
|
||||
[CNPLv7+](../../CNPLv7+.md)
|
||||
|
|
Loading…
Reference in a new issue