Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Mar 2, 2024
1 parent bcb0c88 commit 80fdd98
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,23 @@

Daggerized version of [ansible](https://github.com/cytopia/docker-ansible).

## Usage
## πŸš€ Usage

```sh
dagger -m github.com/tsirysndr/daggerverse/ansible call playbook --src <source> --playbook <playbook>
```

## Example
## πŸ§‘β€πŸ”¬ Example

```sh
dagger -m github.com/tsirysndr/daggerverse/ansible call playbook --src . --playbook playbook.yml
dagger call -m github.com/tsirysndr/daggerverse/ansible dev --src. terminal
```

## πŸ§‘β€πŸ’» Programmatic usage

```typescript
import { playbook } from 'jsr:@daggerverse/ansible';

await playbook(".", "playbook.yml");
```

0 comments on commit 80fdd98

Please sign in to comment.