Ansible - Ansible command line

About

Ansible define and run a single playbook task against a set of hosts.

Ansible “raw” module is a command line for executing commands in a quick and dirty way. The script module don’t even need Python installed.

Location

/usr/bin/ansible

Example

Module

# with an inventory file
ansible all -i inventory.ini -m setup 
# or against a computer
ansible all -i sub.example.com, -m setup 

Ad-hoc command

See Ansible - Ad-hoc command

This is because the default module is command


Powered by ComboStrap