Skip to content

Commit

Permalink
bumps readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wookietreiber committed May 30, 2024
1 parent c807817 commit c09e1bb
Showing 1 changed file with 15 additions and 25 deletions.
40 changes: 15 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ Table of Contents
<!-- toc -->

- [Requirements](#requirements)
- [Role Variables](#role-variables)
- [Dependencies](#dependencies)
- [Module Usage](#module-usage)
- [Dependencies](#dependencies)
- [Example Playbook](#example-playbook)
* [Top-Level Playbook](#top-level-playbook)
* [Role Dependency](#role-dependency)
Expand All @@ -24,17 +23,7 @@ Table of Contents
Requirements
------------

- Ansible 2+

Role Variables
--------------

None.

Dependencies
------------

None.
- Ansible 2.4

Module Usage
------------
Expand Down Expand Up @@ -88,25 +77,26 @@ Configuration can be done for node classes:
run_once: yes
```
Example Playbook
----------------
Add to `requirements.yml`:
Dependencies
------------
```yml
---

- src: idiv-biodiversity.mmmodules
# requirements.yml

...
```
roles:

Download:
- name: idiv_biodiversity.mmmodules
src: https://github.com/idiv-biodiversity/ansible-role-mmmodules
version: vX.Y.Z

```console
$ ansible-galaxy install -r requirements.yml
...
```

Example Playbook
----------------

### Top-Level Playbook

Write a top-level playbook:
Expand All @@ -118,7 +108,7 @@ Write a top-level playbook:
hosts: filer

roles:
- role: idiv-biodiversity.mmmodules
- role: idiv_biodiversity.mmmodules

...
```
Expand All @@ -132,7 +122,7 @@ Define the role dependency in `meta/main.yml`:

dependencies:

- role: idiv-biodiversity.mmmodules
- role: idiv_biodiversity.mmmodules

...
```
Expand Down

0 comments on commit c09e1bb

Please sign in to comment.