ansible - RicoJia/notes GitHub Wiki

Ansible

Basics

  • become means sudo on target machine
  • Hosts: inidividual machines.
    • inventory: the hosts file hosts.ini, where you specify groups, hosts, etc.
  • group var: var applied to all members of the group
  • host vars: vars apply to a specific host
  • deployment: ansible-playbook -i hosts.ini configure_base.yml
⚠️ **GitHub.com Fallback** ⚠️