Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,20 @@ var command = new Ansible.AdHoc().module('shell').hosts('local').args("echo 'hel
command.exec();
```

```typescript
import { Ansible } from 'node-ansible';
const command = new Ansible.AdHoc().module('shell').hosts('local').args("echo 'hello'");
command.exec();
```

is equivalent to:

```shell
ansible local -m shell -a "echo 'hello'"
```

```javascript
var playbook = new Ansible.Playbook().playbook('my-playbook');
```typescript
const playbook = new Ansible.Playbook().playbook('my-playbook');
playbook.exec();
```

Expand Down
323 changes: 0 additions & 323 deletions lib/ansible.js

This file was deleted.

Loading