Passing extra variables to ansible as list or dictionary to from cli


Sometimes it is better to be honest with people who read my blog. As you look there is an huge title that says what article is about. Sometimes even I didn’t invent to passing variables to Ansible, I wrote like that pages.

Main reason why i wrote like that pages, there are not enough examples about topic so I spend my precious time to make the world better again.☮ 1


All examples are at below. Copy and Paste them wisely.

Passing variable to Ansible

Passing list to Ansible

Passing dictionary to Ansible

Pass more variables

Example playbook


For more: