12 lines
255 B
Markdown
12 lines
255 B
Markdown
## Ad-Hoc Commands
|
|
|
|
```bash
|
|
ansible all -m ping
|
|
ansible all -m command -a "uptime"
|
|
ansible webserver -m apt -a "name=vim state=present"
|
|
```
|
|
|
|
Ansible is ideal for orchestrating infrastructure as code across cloud, on-premise, and hybrid environments.
|
|
|
|
---
|