ansible-role-mealie/README.md

100 lines
2.6 KiB
Markdown
Raw Permalink Normal View History

2023-01-09 15:57:28 +01:00
# laurivan.mealie
2023-01-09 15:42:53 +01:00
2023-01-09 15:57:28 +01:00
This role installs Mealie via Docker compose.
2023-01-09 15:42:53 +01:00
This role has been generated using the [cookiecutter](https://github.com/cookiecutter/cookiecutter) tool, you can generate a similar role that fits your needs using the this [cookiecutter template](https://github.com/idealista/cookiecutter-ansible-role).
- [Getting Started](#getting-started)
- [Prerequisities](#prerequisities)
- [Installing](#installing)
- [Usage](#usage)
- [Testing](#testing)
- [Built With](#built-with)
- [Versioning](#versioning)
- [Authors](#authors)
- [License](#license)
- [Contributing](#contributing)
## Getting Started
2023-01-09 15:59:37 +01:00
These instructions will get you a copy of the role for your Ansible playbook. Once launched, it will install Mealie.
2023-01-09 15:42:53 +01:00
### Prerequisities
Ansible 5.2.0 version installed.
Molecule 3.x.x version installed.
For testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver and [Goss](https://github.com/aelsabbahy/goss) as verifier.
### Installing
Create or add to your roles dependency file (e.g requirements.yml):
```yml
- src: ansible-role-mealie
version: 1.0.0
name: laurivan.mealie
```
Install the role with ansible-galaxy command:
```sh
ansible-galaxy install -p roles -r requirements.yml -f
```
Use in a playbook:
```yml
---
- hosts: someserver
roles:
- role: laurivan.mealie
```
## Usage
Look to the [defaults](defaults/main.yml) properties file to see the possible configuration properties, it is very likely that you will not need to override any variables.
## Testing
### Install dependencies
```sh
pipenv sync
```
For more information read the [pipenv docs](https://pipenv-fork.readthedocs.io/en/latest/).
### Run test
```sh
pipenv run molecule test
```
## Built With
![Ansible](https://img.shields.io/badge/ansible-5.2.0-green.svg)
![Molecule](https://img.shields.io/badge/molecule-3.4.0-green.svg)
![Goss](https://img.shields.io/badge/goss-0.3.16-green.svg)
## Versioning
2023-01-09 15:57:28 +01:00
For the versions available, see the [tags on this repository](https://git.laurivan.com/Dev/ansible-role-mealie/tags).
2023-01-09 15:42:53 +01:00
Additionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.
## Authors
2023-01-09 15:57:28 +01:00
- **Laur IVAN** - [web](https://www.laurivan.com)
2023-01-09 15:42:53 +01:00
## License
2023-01-09 15:57:28 +01:00
![MIT License](https://img.shields.io/badge/license-MIT%20License-brightgreen)
2023-01-09 15:42:53 +01:00
2023-01-09 15:57:28 +01:00
This project is licensed under the [MIT](https://opensource.org/licenses/MIT) license - see the [LICENSE](LICENSE) file for details.
2023-01-09 15:42:53 +01:00
## Contributing
2023-01-09 15:57:28 +01:00
Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.