Interview Prep/Ansible/Fundamentals and Architecture

List the main command-line tools that ship with Ansible and what each is for.

IntermediateConceptFundamentals and Architecture
Answer
  • ansible — run a single module ad hoc against hosts
  • ansible-playbook — run playbooks
  • ansible-inventory — display or export the parsed inventory
  • ansible-config — view and dump configuration
  • ansible-doc — module and plugin documentation
  • ansible-galaxy — install roles and collections, scaffold roles
  • ansible-vault — encrypt/decrypt secrets
  • ansible-console — interactive REPL against an inventory
  • ansible-pull — pull model, run a playbook from a Git repo locally
  • ansible-test — test collections
All Ansible questions Roadmap: Ansible

More on Fundamentals and Architecture