forked from ISTI-ansible-roles/ansible-roles
15 lines
379 B
YAML
15 lines
379 B
YAML
|
---
|
||
|
- block:
|
||
|
- name: Install the Ubuntu apache PPA
|
||
|
apt_repository: repo='{{ apache_ppa_repo }}' update_cache=yes
|
||
|
|
||
|
when: apache_from_ppa
|
||
|
tags: [ 'apache', 'apache_ppa' ]
|
||
|
|
||
|
- block:
|
||
|
- name: Remove the Ubuntu apache PPA
|
||
|
apt_repository: repo='{{ apache_ppa_repo }}' update_cache=yes state=absent
|
||
|
|
||
|
when: not apache_from_ppa
|
||
|
tags: [ 'apache', 'apache_ppa' ]
|