You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
316 B
12 lines
316 B
8 years ago
|
---
|
||
|
- name: Add PPA for Nginx.
|
||
|
apt_repository: repo='ppa:nginx/{{ nginx_ppa_version }}' state=present update_cache=yes
|
||
|
register: added_ppa
|
||
|
when: nginx_use_ppa
|
||
|
|
||
|
- name: ensure nginx is not installed when the ppa was just added
|
||
|
apt:
|
||
|
pkg: nginx
|
||
|
state: absent
|
||
|
when: added_ppa.changed
|