diff --git a/ansible/README.md b/ansible/README.md index 93577f4..1e29274 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -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 --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"); +```