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
Ansible 2 · Playbooks
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
Was this page helpful?