how to pass variable from ansible playbook 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 HostName flame01.domain.com
dscacheutil -flushcache
sudo scutil --set HostName flame01.domain.com