ansible playbook variable from cli 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 ComputerName flame01
dscacheutil -flushcache
sudo scutil --set ComputerName flame01