Skip to content

Commit

Permalink
bumps readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wookietreiber committed Nov 21, 2023
1 parent a6f28e6 commit 22ba118
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Table of Contents
Requirements
------------

- Ansible 2.10+
- Ansible 2.10


Role Variables
Expand Down Expand Up @@ -78,30 +78,23 @@ system_hosts_sections:
aliases: [saturn]
```
Dependencies
------------
None.
Example Playbook
----------------
Add to `requirements.yml`:

```yml
---
- src: idiv-biodiversity.hosts
roles:
...
- name: idiv_biodiversity.hosts
src: https://github.com/idiv-biodiversity/ansible-role-hosts
version: v1.1.0
```

Download:

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

### Top-Level Playbook

Expand All @@ -114,7 +107,7 @@ Write a top-level playbook:
hosts: head
roles:
- role: idiv-biodiversity.hosts
- role: idiv_biodiversity.hosts
tags:
- hosts
Expand All @@ -130,7 +123,7 @@ Define the role dependency in `meta/main.yml`:
dependencies:
- role: idiv-biodiversity.hosts
- role: idiv_biodiversity.hosts
tags:
- hosts
Expand Down

0 comments on commit 22ba118

Please sign in to comment.