Ansible 2 · Playbooks

Pass variables

Set a variable on the command line, which overrides other sources.

ansible-playbook site.yml -e "app_version=1.4.2"

Official Ansible 2 documentation

More playbooks commands

All playbooks commands · Ansible 2 cheatsheet

Was this page helpful?