" realize strings are only allowed currently it seems, " This is not correct.
Variables files, such as group_vars/groupname, host_vars/hostname, anything loaded with vars_files or "include_vars" can be YAML or JSON, we prefer YAML, and it can be structured and typed. On Mon, May 5, 2014 at 9:48 PM, Brian Coca <[email protected]> wrote: > First thing, don't use item in your for loop, it is reserved for ansible > loops and will cause confusion. > > > What is base_vars? how does it get loaded?if it were a yaml file you can > do it 2 ways: > > mgmt_access_networks: ['172.22.161.0/24', '172.27.0.0/16', '172.28.0.0/16', > '198.18.0.0/15'] > > or > > mgmt_access_networks: > > - '172.22.161.0/24 > > - '172.27.0.0/16' ... etc > > > Brian Coca > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CADn%2BHsym5C4EidkF9Bwv5cigvOjyoRtZypMk-ibJX9qbbKd_YA%40mail.gmail.com<https://groups.google.com/d/msgid/ansible-project/CADn%2BHsym5C4EidkF9Bwv5cigvOjyoRtZypMk-ibJX9qbbKd_YA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgyd2ZK1V%3DEsgFUOqs8XiB8eQzPwrXRW5Q6mtAjA5QASbQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
