Ansible: Command line tools with example in Ansible
1. ansible The ansible command runs ad-hoc tasks (single modules) against hosts in the inventory. Command Name Description Example ansible <host-pattern> -m ping Ping all hosts to check connectivity. ansible all -m ping ansible <host-pattern> -m shell -a “<command>” Run a shell command with shell features (pipes, redirects). ansible webservers -m shell -a “uptime” ansible … Read more