ansible playbook vars from code example
Example 1: how to define variable in ansible playbook
sudo scutil --set ComputerName flame01
Example 2: how to define variable in ansible playbook
sudo scutil --set HostName flame01.domain.com
sudo scutil --set ComputerName flame01
sudo scutil --set HostName flame01.domain.com