How can I pass variable to ansible playbook in the command line?

I’m new to ansible and wonder how to do so as the following didn’t work

ansible-playbook -i '10.0.0.1,' yada-yada.yml --tags 'loaddata' django_fixtures="tile_colors"

Where django_fixtures is my variable.

10 Answers
10

Leave a Comment