26 lines
698 B
YAML
26 lines
698 B
YAML
---
|
|
|
|
- name: Ensure apt-transport-https is installed.
|
|
apt: name=apt-transport-https state=latest update_cache=yes
|
|
|
|
- name: Ensure Dual Inventive apt key is present
|
|
apt_key:
|
|
data: "{{ lookup('file', 'sign.key') }}"
|
|
state: present
|
|
|
|
- name: Remove old Dual Inventive apt key
|
|
apt_key:
|
|
state: absent
|
|
id: 03FB1A9B
|
|
|
|
- name: Remove the old Dual Inventive repository
|
|
apt_repository:
|
|
repo: "deb [arch=amd64] http://src.dualinventive.com/deb di {{ di_apt_repository_stage }}"
|
|
state: absent
|
|
|
|
- name: Ensure Dual Inventive repository is present
|
|
apt_repository:
|
|
repo: "deb [arch=amd64] https://apt.dualinventive.com/deb di {{ di_apt_repository_stage }}"
|
|
state: present
|
|
|