AtlasOfLivingAustralia / ala-install

Ansible playbooks for installing the ALA components
https://www.ala.org.au
Apache License 2.0
26 stars 52 forks source link

Support unattended-upgrades for ala-i18n #401

Open ansell opened 4 years ago

ansell commented 4 years ago

The ala-i18n package requires regular updates. This is generally done using unattended-upgrades. Need to work out the best way to optionally add it here so that users of the ala-i18n package automatically receive new translations as they are released.

ansell commented 4 years ago

The basic version for this would be the following, but would need to be worked into other origins that are active on each system (which is the hard part). Note the hardcoded bionic currently as it is the only release stream so far, but it works across other versions because it is not binary:

// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
// GBIF.ES
//        ". ${distro_codename}:${distro_codename}";
        ". bionic:bionic";
};