Change-Id: I289c56f7c6ce7ff5fdfb23c0514d049d7645a1b0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
---
- name: Install legacy compilers
+ when: compilers_legacy_install
block:
- name: Add sources for gcc 4.8
when: ansible_distribution == 'Debian'
repo: 'deb [trusted=yes] http://archive.debian.org/debian jessie main'
state: "{{compilers_legacy_install|ternary('present', 'absent')}}"
- name: Install legacy compiler packages
- when: compilers_legacy_install
ansible.builtin.apt:
name: "{{compilers_legacy_packages}}"