Ansible: Dict

From Glitchdata
Jump to navigation Jump to search
  vars:
    dict1: {hostname: "test", ip: "127.0.0.1"}
    list_dict2:
      - {hostname: "test2", ip: "127.0.0.2"}
      - {hostname: "test3", ip: "127.0.0.3"}
    list_dict3: 
      - {hostname: "test4", ip: [ "127.0.0.4", "127.0.0.5", "127.0.0.6" ] }


Links


Related