yaml specify multiple uri

Jerry Geis jerry.geis at gmail.com
Fri Jun 30 00:34:54 UTC 2023


I tried do this to specify multiple uri:

This does not work
  apt:
    preserve_sources_list: false
    primary:
      - arches: [amd64]
        uri: [ "http://myserver.com/ubuntu/", "
http://archive.ubuntu.com/ubuntu/" ]

This did work. its the default
  apt:
    preserve_sources_list: false
    primary:
      - arches: [amd64]
        uri: "http://archive.ubuntu.com/ubuntu/"


How do I specify multiple uri in yaml ?

THanks

jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230629/4b3eb073/attachment.html>


More information about the ubuntu-users mailing list