ansible-playbook additional variables code example
Example 1: how to define variable in ansible playbook
dscacheutil -flushcache
Example 2: how to define variable in ansible playbook
sudo scutil --set LocalHostName flame01.local
dscacheutil -flushcache
sudo scutil --set LocalHostName flame01.local