how to call an ansible playbook with it's own vars code example
Example 1: how to define variable in ansible playbook
sudo scutil --set LocalHostName flame01.local
Example 2: how to define variable in ansible playbook
dscacheutil -flushcache
sudo scutil --set LocalHostName flame01.local
dscacheutil -flushcache