When using a ansible_host or ansible_group resource, I wish I could set variables with complex types instead of only strings.
For instances I would like to set a list or a map (those types are supported in static yaml variables files in Ansible). For example I wish I could have this:
Hello,
When using a
ansible_host
oransible_group
resource, I wish I could set variables with complex types instead of only strings.For instances I would like to set a list or a map (those types are supported in static yaml variables files in Ansible). For example I wish I could have this:
which would be equivalent to this static Ansible config: