2016-07-18 19:28:35 +02:00
|
|
|
---
|
|
|
|
- block:
|
|
|
|
|
|
|
|
- name: Get the Fusion Directory repo key
|
|
|
|
apt_key: id={{ fusiond_repo_key }} keyserver={{ fusiond_gpg_repo }}
|
|
|
|
|
|
|
|
- name: Install the Fusion Directory repo
|
|
|
|
apt_repository: repo={{ fusiond_repo }}
|
|
|
|
|
|
|
|
- name: Install the Fusion Directory debian extras repo
|
|
|
|
apt_repository: repo={{ fusiond_extra_repo }}
|
|
|
|
|
|
|
|
when: fusiondirectory_install
|
2017-06-29 10:38:06 +02:00
|
|
|
tags: [ 'fusiondirectory', 'fusiondirectory_repo' ]
|
2016-07-18 19:28:35 +02:00
|
|
|
|
|
|
|
- block:
|
|
|
|
|
|
|
|
- name: Remove the Fusion Directory repo key
|
|
|
|
apt_key: id={{ fusiond_repo_key }} keyserver={{ fusiond_gpg_repo }} state=absent
|
|
|
|
|
|
|
|
- name: Remove the Fusion Directory repo
|
|
|
|
apt_repository: repo={{ fusiond_repo }} state=absent
|
|
|
|
|
|
|
|
- name: Remove the Fusion Directory debian extras repo
|
|
|
|
apt_repository: repo={{ fusiond_extra_repo }} state=absent update_cache=yes
|
|
|
|
|
|
|
|
when: not fusiondirectory_install
|
2017-06-29 10:38:06 +02:00
|
|
|
tags: [ 'fusiondirectory', 'fusiondirectory_repo' ]
|
2016-07-18 19:28:35 +02:00
|
|
|
|