diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-23 16:46:17 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-23 16:51:02 +0100 |
commit | 962d6f8fef0784fe982517d5d5c8aa5d275f878d (patch) | |
tree | cfecfb57a4221da9f40e75ca90cc535f46903613 /roles/debian/defaults | |
parent | b701d85c01884c7df597fdfbeb921c1827f6442d (diff) | |
download | labitat-ansible-962d6f8fef0784fe982517d5d5c8aa5d275f878d.tar.gz labitat-ansible-962d6f8fef0784fe982517d5d5c8aa5d275f878d.tar.xz labitat-ansible-962d6f8fef0784fe982517d5d5c8aa5d275f878d.zip |
debian: apt: support Debian release override
Diffstat (limited to 'roles/debian/defaults')
-rw-r--r-- | roles/debian/defaults/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/debian/defaults/main.yml b/roles/debian/defaults/main.yml index 39d9cec..cb79ddc 100644 --- a/roles/debian/defaults/main.yml +++ b/roles/debian/defaults/main.yml @@ -21,16 +21,16 @@ apt_preferences: {} apt_repos: base: uri: 'https://deb.debian.org/debian' - suite: '{{ ansible_distribution_release }}' + suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}' security: uri: 'https://deb.debian.org/debian-security' - suite: '{{ ansible_distribution_release }}/updates' + suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}/updates' updates: uri: 'https://deb.debian.org/debian' - suite: '{{ ansible_distribution_release }}-updates' + suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}-updates' backports: uri: 'https://deb.debian.org/debian' - suite: '{{ ansible_distribution_release }}-backports' + suite: '{{ apt_release is defined|ternary(apt_release,ansible_distribution_release) }}-backports' apt_packages: 'netbase': present |